From 910d54308aeed172ab040690267c694b1af319c0 Mon Sep 17 00:00:00 2001 From: ifsnow Date: Wed, 25 Sep 2019 14:57:14 +0900 Subject: [PATCH] Change $Enum to $Keys to correct flow errors --- js/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/index.js b/js/index.js index 15573f036..328003355 100644 --- a/js/index.js +++ b/js/index.js @@ -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`.