1
0
Code Issues Pull Requests Packages Projects Releases Wiki Activity GitHub Gitee

chore: modify typedoc config.

This commit is contained in:
jaywcjlove
2021-05-10 14:21:31 +08:00
parent b92f3d6126
commit a02615d120
3 changed files with 19 additions and 14 deletions

5
index.d.ts vendored
View File

@@ -129,12 +129,15 @@ export interface AuthResult {
}
/**
* 支付
* @param payInfo 支付详情
* @param payInfo 支付详情,是后台拼接好的支付参数
* @returns result 支付宝回调结果 https://docs.open.alipay.com/204/105301
*/
export function alipay(payInfo: string): Promise<OrderResult>;
/**
* 快速登录授权
* - ⚠️ 注意授权成功返回结果是一个字符串,[返回内容](https://github.com/uiwjs/react-native-alipay/blob/74140a294e850884ed1851b9d2c2d2c00ee75003/index.d.ts#L89-L113)
* - ⚠️ 支付宝需要设置 Scheme 和 iOS添加原生代码才能支持验证[回弹商家APP]的功能
* - ⚠️ 支付宝 `管理中心-支付宝开放平台` 需要签约 `APP支付宝登录`
* @param authInfoStr 验证详情
* @returns result 支付宝回调结果 https://opendocs.alipay.com/open/218/105327
*/

15
tsconfig.json Normal file
View File

@@ -0,0 +1,15 @@
{
"compilerOptions": {
},
"typedocOptions": {
"entryPoints": ["./index.d.ts"],
"out": "typedoc",
"name": "React Native Alipay",
"theme": "minimal",
"excludeExternals": true,
"excludePrivate": true,
"excludeProtected": true,
"toc": ["EntryClass", "ImportantInterface"],
"hideGenerator": true
}
}

View File

@@ -1,13 +0,0 @@
{
"inputFiles": "./index.d.ts",
"out": "typedoc",
"name": "React Native Alipay",
"mode": "file",
"includeDeclarations": true,
"excludeExternals": true,
"ignoreCompilerErrors": true,
"excludePrivate": true,
"excludeProtected": true,
"toc": true,
"hideGenerator": true
}