React native fixups

Reviewed By: @gabelevi

Differential Revision: D2456130
This commit is contained in:
Jeff Morrison 2015-09-18 10:34:37 -07:00 committed by facebook-github-bot-3
parent c6495531fb
commit 2bbdbc704d
2 changed files with 2 additions and 1 deletions

View File

@ -18,6 +18,7 @@
export type Example = {
title: string,
/* $FlowFixMe(>=0.16.0) */
render: () => ?ReactElement<any, any, any>,
description?: string,
platform?: string;

View File

@ -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: