Skip to content

Commit

Permalink
Change $Enum to $Keys to correct flow errors
Browse files Browse the repository at this point in the history
  • Loading branch information
ifsnow committed Sep 25, 2019
1 parent 56cae07 commit 910d543
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ export type FetchResult = {
/**
* An event emitted by PushNotificationIOS.
*/
export type PushNotificationEventName = $Enum<{
export type PushNotificationEventName = $Keys<{
/**
* Fired when a remote notification is received. The handler will be invoked
* with an instance of `PushNotificationIOS`.
Expand Down

0 comments on commit 910d543

Please sign in to comment.