-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[flow] Flip default of as_const config
Summary: Given that we are going to flip `experimental.natural_inference.exports.primitive_const` soon and `as const` is the most effective way to make the code compliant with the new config, it's time to flip default for as const. Changelog: [internal] Reviewed By: panagosg7 Differential Revision: D66789208 ------------------------------------------------------------------------ (from 80a6d49f8da02c545fed3374a3dc43916431fb6f) fbshipit-source-id: c696e31056c57b0c0efcf7aaa3a200f0777a51ae
- Loading branch information
1 parent
e880881
commit 56ebaf0
Showing
4 changed files
with
1 addition
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,4 @@ | ||
[options] | ||
all=true | ||
as_const=true | ||
experimental.ts_syntax=true | ||
no_flowlib=false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,7 +8,6 @@ | |
|
||
[options] | ||
all=true | ||
as_const=true | ||
experimental.natural_inference.exports.primitive_const=true | ||
|
||
[strict] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,2 @@ | ||
[options] | ||
all=true | ||
as_const=true |