Skip to content

Commit

Permalink
Add WechatError type
Browse files Browse the repository at this point in the history
  • Loading branch information
danmaas committed Jul 9, 2020
1 parent af0f503 commit 7516094
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -58,4 +58,5 @@ declare module "react-native-wechat" {
export function pay(
payload: PaymentLoad
): Promise<{ errCode?: number; errStr?: string }>;
export class WechatError extends Error {}
}

0 comments on commit 7516094

Please sign in to comment.