diff --git a/Examples/UIExplorer/ExampleTypes.js b/Examples/UIExplorer/ExampleTypes.js index ac9deaadf..4513f19e2 100644 --- a/Examples/UIExplorer/ExampleTypes.js +++ b/Examples/UIExplorer/ExampleTypes.js @@ -18,6 +18,7 @@ export type Example = { title: string, + /* $FlowFixMe(>=0.16.0) */ render: () => ?ReactElement, description?: string, platform?: string; diff --git a/Libraries/PushNotificationIOS/PushNotificationIOS.js b/Libraries/PushNotificationIOS/PushNotificationIOS.js index c71722ae8..a39058e7d 100644 --- a/Libraries/PushNotificationIOS/PushNotificationIOS.js +++ b/Libraries/PushNotificationIOS/PushNotificationIOS.js @@ -211,7 +211,7 @@ class PushNotificationIOS { * Listening to the `notification` event and invoking * `popInitialNotification` is sufficient */ - constructor(nativeNotif) { + constructor(nativeNotif: Object) { this._data = {}; // Extract data from Apple's `aps` dict as defined: