From 0c5b3901781f145d77dc627fddb54bc88fd8afab Mon Sep 17 00:00:00 2001 From: Anton Semenov Date: Tue, 12 Sep 2017 05:29:46 -0700 Subject: [PATCH] Fix error in flow types Summary: Previously type Options had excludeActivityTypes property, but in RCTActionSheetManager.m and docs this property is named excludedActivityTypes. Want to fix error in flow types Actually, it seems there aren't any need for test plan for this PR. Just fix a mistyping error. Closes https://github.com/facebook/react-native/pull/15881 Differential Revision: D5813539 Pulled By: ericnakagawa fbshipit-source-id: 7d1269d4c177f920869bf6554f14af6db7a741ee --- Libraries/Share/Share.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Libraries/Share/Share.js b/Libraries/Share/Share.js index 4f109367b9b..c34e72ff831 100644 --- a/Libraries/Share/Share.js +++ b/Libraries/Share/Share.js @@ -22,7 +22,7 @@ const { } = require('NativeModules'); type Content = { title?: string, message: string } | { title?: string, url: string }; -type Options = { dialogTitle?: string, excludeActivityTypes?: Array, tintColor?: string }; +type Options = { dialogTitle?: string, excludedActivityTypes?: Array, tintColor?: string }; class Share {