Skip to content

Commit

Permalink
flow: Annotate allKeys in reducers.js
Browse files Browse the repository at this point in the history
This value is being exported and since Flow 0.70 we are required
to annotate exported values.
  • Loading branch information
borisyankov committed Jul 23, 2018
1 parent fc40202 commit b028bec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/boot/reducers.js
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ const reducers = {
users,
};

export const allKeys = Object.keys(reducers);
export const allKeys: string[] = Object.keys(reducers);

export default enableBatching(
combineReducers(config.enableReduxSlowReducerWarnings ? logSlowReducers(reducers) : reducers),
Expand Down

0 comments on commit b028bec

Please sign in to comment.