From ddf5a56d0bb81343b1baa69d3a60e95bfcc17719 Mon Sep 17 00:00:00 2001 From: Tom Xu Date: Sat, 26 Dec 2020 15:21:48 +0800 Subject: [PATCH] fix: ts typo --- index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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[] }>; }