Skip to content

Commit a15ae5b

Browse files
niveditcjdecked
authored andcommitted
Add flow to files
Summary: These are the last two files that aren't flow typed. I'll look into strict typing for this file & others in a bit. Reviewed By: elboman Differential Revision: D10236440 fbshipit-source-id: 9f546b2c62f969ab550f9d16c5e6e12fb2371479
1 parent 11aec0e commit a15ae5b

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

src/component/selection/getSampleSelectionMocksForTesting.js

+3-1
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
* of patent rights can be found in the PATENTS file in the same directory.
88
*
99
* @format
10+
* @flow
1011
* @emails oncall+draft_js
1112
*/
1213

@@ -16,8 +17,9 @@ const CharacterMetadata = require('CharacterMetadata');
1617
const ContentBlock = require('ContentBlock');
1718
const ContentState = require('ContentState');
1819
const EditorState = require('EditorState');
19-
const Immutable = require('immutable');
2020
const {BOLD} = require('SampleDraftInlineStyle');
21+
22+
const Immutable = require('immutable');
2123
const {EMPTY} = CharacterMetadata;
2224

2325
const getSampleSelectionMocksForTesting = (): Object => {

src/component/selection/getSampleSelectionMocksForTestingNestedBlocks.js

+2
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
* of patent rights can be found in the PATENTS file in the same directory.
88
*
99
* @format
10+
* @flow
1011
* @emails oncall+draft_js
1112
*/
1213

@@ -15,6 +16,7 @@
1516
const ContentBlockNode = require('ContentBlockNode');
1617
const ContentState = require('ContentState');
1718
const EditorState = require('EditorState');
19+
1820
const Immutable = require('immutable');
1921

2022
const getSampleSelectionMocksForTestingNestedBlocks = (): Object => {

0 commit comments

Comments
 (0)