diff --git a/index.d.ts b/index.d.ts index ce96014..28e68bd 100644 --- a/index.d.ts +++ b/index.d.ts @@ -158,6 +158,6 @@ declare module 'react-native-wechat-lib' { } export function chooseInvoice( - data: ChooseInvoice, + data?: ChooseInvoice, ): Promise<{ errCode?: number; errStr?: string; cards: Invoice[] }>; }