fix: ts typo

This commit is contained in:
Tom Xu 2020-12-26 15:21:48 +08:00
parent 98c31c7c9f
commit ddf5a56d0b

2
index.d.ts vendored
View File

@ -158,6 +158,6 @@ declare module 'react-native-wechat-lib' {
}
export function chooseInvoice(
data: ChooseInvoice,
data?: ChooseInvoice,
): Promise<{ errCode?: number; errStr?: string; cards: Invoice[] }>;
}