mirror of
https://github.com/facebook/react-native.git
synced 2024-11-21 22:10:14 +00:00
Also parse js.flow files with hermes-parser (#39048)
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/39048 Similar to D48047348, we should also use hermes-parser to parse .js.flow files to support newer Flow syntax. Changelog: [Internal] Reviewed By: yungsters Differential Revision: D48398780 fbshipit-source-id: 280ac546493361c4421449f86bf3f735b93a18e8
This commit is contained in:
parent
492c9d1041
commit
0a0ce8403e
@ -9,7 +9,8 @@
|
||||
"overrides": [
|
||||
{
|
||||
"files": [
|
||||
"*.js"
|
||||
"*.js",
|
||||
"*.js.flow"
|
||||
],
|
||||
"options": {
|
||||
"parser": "hermes"
|
||||
|
Loading…
Reference in New Issue
Block a user