Skip to content

Commit

Permalink
Change $Enum to $Keys to correct flow errors (#28)
Browse files Browse the repository at this point in the history
Change $Enum to $Keys to correct flow errors
  • Loading branch information
Naturalclar authored Jan 7, 2020
2 parents 9656ac8 + 910d543 commit 094c236
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 094c236

Please sign in to comment.