This repository was archived by the owner on Feb 6, 2023. It is now read-only.
Commit 153482f
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: 0ab07062eaa569d688ddba36b2c98bf0e709020f1 parent 94f6db8 commit 153482f
1 file changed
+1
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
71 | 71 | | |
72 | 72 | | |
73 | 73 | | |
| 74 | + | |
74 | 75 | | |
75 | 76 | | |
76 | 77 | | |
| |||
0 commit comments