Skip to content
This repository was archived by the owner on Jun 26, 2020. It is now read-only.

Commit c031227

Browse files
committed
Update to flow 0.21.0
This found that we missed the `key` in `DOMEvent` as documented here: https://facebook.github.io/react/docs/events.html#keyboard-events
1 parent bd3d1e8 commit c031227

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

.flowconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,4 @@ suppress_comment=\\(.\\|\n\\)*\\$FlowFixMe
1515
suppress_comment=\\(.\\|\n\\)*\\$FlowIssue
1616

1717
[version]
18-
0.20.1
18+
0.21.0

frontend/types.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,4 +52,5 @@ export type DOMEvent = {
5252
stopPropagation: () => void,
5353
cancelBubble: boolean,
5454
keyCode: number,
55+
key: string,
5556
};

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
"eslint-plugin-react": "3.12.0",
1414
"fbjs": "0.5.1",
1515
"fbjs-scripts": "0.5.0",
16-
"flow-bin": "0.20.1",
16+
"flow-bin": "0.21.0",
1717
"immutable": "3.7.6",
1818
"jest-cli": "0.8.2",
1919
"json-loader": "0.5.4",

0 commit comments

Comments
 (0)