Codemod $Enum<...> to $Keys<...> in xplat/fbcode

Summary:
In D15367312, I deprecate `$Enum<...>` in favour of `$Keys<...>` (the functionality is identical). Codemod existing usages in xplat and fbcode.

bypass-lint

Reviewed By: samwgoldman

Differential Revision: D15378084

fbshipit-source-id: 251c6b9ac07cb50139a8f03e3a45a5fac0d91812
This commit is contained in:
George Zahariev authored and Facebook Github Bot committed 2019-05-16 14:20:29 -07:00
1 parent 016afe26bc
commit f050f99e56
8 files changed
+12 -12

No files matched your search

@@ -44,7 +44,7 @@ type PageSelectedEvent = SyntheticEvent<
|}>,
>;
export type ViewPagerScrollState = $Enum<{
export type ViewPagerScrollState = $Keys<{
idle: string,
dragging: string,
settling: string,