Fix private property parsing in Flow (#8340)
* Fix private property parsing in Flow * Flow tests updated * Fix type error * Appropriate name was given to test folder * Fix * Empty * Correct type annotation * Add required changes in generator package * Add required changes in flow-strip-types
This commit is contained in:
committed by
Nicolò Ribaudo
parent
b8f9ebf638
commit
5c728ea609
@@ -15,6 +15,7 @@ async_await/migrated_0020.js
|
||||
async_await/migrated_0024.js
|
||||
async_await/migrated_0027.js
|
||||
async_generators/migrated_0007.js
|
||||
catch/optional_catch_binding.js
|
||||
class_properties/migrated_0000.js
|
||||
class_properties/migrated_0005.js
|
||||
class_properties/migrated_0011.js
|
||||
@@ -23,7 +24,8 @@ class_properties/migrated_0021.js
|
||||
class_properties/migrated_0026.js
|
||||
decorators/migrated_0003.js
|
||||
decorators/migrated_0007.js
|
||||
private_class_properties/valid.js
|
||||
private_class_properties/multiple.js
|
||||
private_class_properties/super.js
|
||||
types/annotations/migrated_0001.js
|
||||
types/annotations_in_comments_invalid/migrated_0003.js
|
||||
types/annotations/void_is_reserved_param.js
|
||||
|
||||
@@ -115,6 +115,7 @@ const options = {
|
||||
"flowComments",
|
||||
"jsx",
|
||||
"objectRestSpread",
|
||||
"classPrivateProperties",
|
||||
],
|
||||
sourceType: "module",
|
||||
ranges: true,
|
||||
|
||||
Reference in New Issue
Block a user