Skip to content

Commit 094c236

Browse files
authored
Change $Enum to $Keys to correct flow errors (#28)
Change $Enum to $Keys to correct flow errors
2 parents 9656ac8 + 910d543 commit 094c236

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

js/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ export type FetchResult = {
3535
/**
3636
* An event emitted by PushNotificationIOS.
3737
*/
38-
export type PushNotificationEventName = $Enum<{
38+
export type PushNotificationEventName = $Keys<{
3939
/**
4040
* Fired when a remote notification is received. The handler will be invoked
4141
* with an instance of `PushNotificationIOS`.

0 commit comments

Comments
 (0)