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

Commit bcf1784

Browse files
committed
fix(utils): add missing flowtype
1 parent 3aaebba commit bcf1784

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/utils/src/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,7 @@ const insertBlockAfterSelection = (contentState, selectionState, newBlock) => {
222222
})
223223
}
224224

225-
export function insertNewLine(editorState: EditorState) {
225+
export function insertNewLine(editorState: EditorState): EditorState {
226226
const contentState = editorState.getCurrentContent()
227227
const selectionState = editorState.getSelection()
228228

0 commit comments

Comments
 (0)