Skip to content

Commit

Permalink
chore: modify typedoc config.
Browse files Browse the repository at this point in the history
  • Loading branch information
jaywcjlove committed May 10, 2021
1 parent b92f3d6 commit a02615d
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 14 deletions.
5 changes: 4 additions & 1 deletion index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
*/
Expand Down
15 changes: 15 additions & 0 deletions tsconfig.json
Original file line number Diff line number Diff line change
@@ -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 changes: 0 additions & 13 deletions typedoc.json

This file was deleted.

0 comments on commit a02615d

Please sign in to comment.