chore: modify typedoc config.
This commit is contained in:
parent
b92f3d6126
commit
a02615d120
5
index.d.ts
vendored
5
index.d.ts
vendored
@ -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
15
tsconfig.json
Normal 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
|
||||
}
|
||||
}
|
13
typedoc.json
13
typedoc.json
@ -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
|
||||
}
|
Loading…
Reference in New Issue
Block a user