Support for Flow match instance patterns and Flow records (#18511)
Co-authored-by: fisker <lionkay@gmail.com>
This commit is contained in:
1 parent
b261f60dcf
commit
38745522e3
19 files changed
+598
-53
No files matched your search
@@ -539,6 +539,14 @@ exports[`visitor keys estree 1`] = `
|
||||
"MatchIdentifierPattern": [
|
||||
"id",
|
||||
],
|
||||
"MatchInstanceObjectPattern": [
|
||||
"properties",
|
||||
"rest",
|
||||
],
|
||||
"MatchInstancePattern": [
|
||||
"properties",
|
||||
"targetConstructor",
|
||||
],
|
||||
"MatchLiteralPattern": [
|
||||
"literal",
|
||||
],
|
||||
@@ -749,6 +757,37 @@ exports[`visitor keys estree 1`] = `
|
||||
"id",
|
||||
"qualification",
|
||||
],
|
||||
"RecordDeclaration": [
|
||||
"body",
|
||||
"id",
|
||||
"implements",
|
||||
"typeParameters",
|
||||
],
|
||||
"RecordDeclarationBody": [
|
||||
"elements",
|
||||
],
|
||||
"RecordDeclarationImplements": [
|
||||
"id",
|
||||
"typeArguments",
|
||||
],
|
||||
"RecordDeclarationProperty": [
|
||||
"defaultValue",
|
||||
"key",
|
||||
"typeAnnotation",
|
||||
],
|
||||
"RecordDeclarationStaticProperty": [
|
||||
"key",
|
||||
"typeAnnotation",
|
||||
"value",
|
||||
],
|
||||
"RecordExpression": [
|
||||
"properties",
|
||||
"recordConstructor",
|
||||
"typeArguments",
|
||||
],
|
||||
"RecordExpressionProperties": [
|
||||
"properties",
|
||||
],
|
||||
"RegExpLiteral": [],
|
||||
"RestElement": [
|
||||
"argument",
|
||||
|
||||
Reference in new issue
Block a user