Skip to content
This repository has been archived by the owner on Feb 6, 2023. It is now read-only.

Commit

Permalink
Add flow to files
Browse files Browse the repository at this point in the history
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
  • Loading branch information
niveditc authored and facebook-github-bot committed Oct 8, 2018
1 parent cc6b897 commit d87e093
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/component/selection/getSampleSelectionMocksForTesting.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
* of patent rights can be found in the PATENTS file in the same directory.
*
* @format
* @flow
* @emails oncall+draft_js
*/

Expand All @@ -16,8 +17,9 @@ const CharacterMetadata = require('CharacterMetadata');
const ContentBlock = require('ContentBlock');
const ContentState = require('ContentState');
const EditorState = require('EditorState');
const Immutable = require('immutable');
const {BOLD} = require('SampleDraftInlineStyle');

const Immutable = require('immutable');
const {EMPTY} = CharacterMetadata;

const getSampleSelectionMocksForTesting = (): Object => {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
* of patent rights can be found in the PATENTS file in the same directory.
*
* @format
* @flow
* @emails oncall+draft_js
*/

Expand All @@ -15,6 +16,7 @@
const ContentBlockNode = require('ContentBlockNode');
const ContentState = require('ContentState');
const EditorState = require('EditorState');

const Immutable = require('immutable');

const getSampleSelectionMocksForTestingNestedBlocks = (): Object => {
Expand Down

0 comments on commit d87e093

Please sign in to comment.