Skip to content

Commit

Permalink
flow 0.53 compatibility
Browse files Browse the repository at this point in the history
flow 0.53 changed how React things are typed. They've provided a
`flow-upgrade` utility to automatically convert things, so I've ran that
to generate the changes in this commit.
  • Loading branch information
mwiencek committed Aug 19, 2017
1 parent 823bcc9 commit cbb0887
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions jsx-control-statements.flow.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// @flow

declare var If: ReactClass<{condition: boolean}>;
declare var For: ReactClass<{each: string, index: string, of: Array<any>}>;
declare var Choose: ReactClass<{}>;
declare var When: ReactClass<{condition: boolean}>;
declare var Otherwise: ReactClass<{}>;
declare var If: React$ComponentType<{condition: boolean}>;
declare var For: React$ComponentType<{each: string, index: string, of: Array<any>}>;
declare var Choose: React$ComponentType<{}>;
declare var When: React$ComponentType<{condition: boolean}>;
declare var Otherwise: React$ComponentType<{}>;

0 comments on commit cbb0887

Please sign in to comment.