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:
Sam Zhou 2023-08-16 11:27:13 -07:00 committed by Facebook GitHub Bot
parent 492c9d1041
commit 0a0ce8403e

View File

@ -9,7 +9,8 @@
"overrides": [
{
"files": [
"*.js"
"*.js",
"*.js.flow"
],
"options": {
"parser": "hermes"