Remove Experimental{Rest,Spread}Property from visitorKeys (#18433)
Remove `ExperimentalRestProperty` and `ExperimentalSpreadProperty` from visitorKeys
This commit is contained in:
1 parent
1f6ba74b87
commit
7b66b5ed88
2 files changed
+4
-6
No files matched your search
@@ -57,6 +57,10 @@ const excludeNodeTypes = [
|
|||||||
"RecordExpression",
|
"RecordExpression",
|
||||||
// Babel, Won't exist since we use `createImportExpressions` when parsing with babel
|
// Babel, Won't exist since we use `createImportExpressions` when parsing with babel
|
||||||
"Import",
|
"Import",
|
||||||
|
|
||||||
|
// https://github.com/typescript-eslint/typescript-eslint/blob/d2d7ace4e52bedf07482fd879d8e31a52b38fc26/packages/visitor-keys/tests/visitor-keys.test.ts#L14-L18
|
||||||
|
"ExperimentalRestProperty",
|
||||||
|
"ExperimentalSpreadProperty",
|
||||||
];
|
];
|
||||||
|
|
||||||
let visitorKeys = unionVisitorKeys(
|
let visitorKeys = unionVisitorKeys(
|
||||||
|
|||||||
@@ -308,12 +308,6 @@ exports[`visitor keys estree 1`] = `
|
|||||||
"members",
|
"members",
|
||||||
],
|
],
|
||||||
"ExistsTypeAnnotation": [],
|
"ExistsTypeAnnotation": [],
|
||||||
"ExperimentalRestProperty": [
|
|
||||||
"argument",
|
|
||||||
],
|
|
||||||
"ExperimentalSpreadProperty": [
|
|
||||||
"argument",
|
|
||||||
],
|
|
||||||
"ExportAllDeclaration": [
|
"ExportAllDeclaration": [
|
||||||
"attributes",
|
"attributes",
|
||||||
"exported",
|
"exported",
|
||||||
|
|||||||
Reference in new issue
Block a user