From a2ea48b650743e874bf0670f6926d2d024e5f75c Mon Sep 17 00:00:00 2001 From: Kyle Date: Sun, 13 Aug 2017 17:50:15 -0400 Subject: [PATCH] [react-native] Make share options optional --- types/react-native/index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types/react-native/index.d.ts b/types/react-native/index.d.ts index 629c8a8fd5..260402c9ec 100644 --- a/types/react-native/index.d.ts +++ b/types/react-native/index.d.ts @@ -6538,7 +6538,7 @@ export interface ShareStatic { * - `dialogTitle` * */ - share(content: ShareContent, options: ShareOptions): Promise + share(content: ShareContent, options?: ShareOptions): Promise sharedAction: string dismissedAction: string }