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

Commit 153482f

Browse files
jbrown215facebook-github-bot
authored andcommitted
Remaining non-generated non-reason-parsed files
Summary: We are rolling out exact-by-default object type syntax to www. In order to do that, we need to turn all implicitly inexact objects `{}` into explicitly inexact objects `{...}`. This diff has no runtime or type checking changes. I generated this diff by first finding the non-generated files in www that still had implicit inexact objects. After adding `implicit-inexact-object=error` to the flowconfig, I ran: ``` flow --lazy-mode none --show-all-errors | grep -P "\w[^ ]*:[\d]+:[\d]+" -o | sed 's/:.*:.*//' | sort | xargs grep -L -P '@(partially-)?generated' > ~/files_to_codemod phps CodemodConfigRunner CodemodConfigExactByDefault -m local -i ~/files_to_codemod hg st -n | xargs -n 1000 hg commit -m "codemod" ``` bypass-lint allow_many_files drop-conflicts Reviewed By: gkz Differential Revision: D20671138 fbshipit-source-id: 0ab07062eaa569d688ddba36b2c98bf0e709020f
1 parent 94f6db8 commit 153482f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/model/immutable/EditorState.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,7 @@ type EditorStateRecordType = {
7171
selection: ?SelectionState,
7272
treeMap: ?OrderedMap<string, List<any>>,
7373
undoStack: Stack<ContentState>,
74+
...
7475
};
7576

7677
const defaultRecord: EditorStateRecordType = {

0 commit comments

Comments
 (0)