@typescript-eslint/visitor-keys 8.33.2-alpha.2 → 8.33.2-alpha.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/visitor-keys.js +5 -5
- package/package.json +2 -2
package/dist/visitor-keys.js
CHANGED
|
@@ -137,8 +137,8 @@ const additionalKeys = {
|
|
|
137
137
|
TSExternalModuleReference: ['expression'],
|
|
138
138
|
TSFunctionType: SharedVisitorKeys.FunctionType,
|
|
139
139
|
TSImportEqualsDeclaration: ['id', 'moduleReference'],
|
|
140
|
-
TSImportType: ['argument', '
|
|
141
|
-
TSIndexedAccessType: ['
|
|
140
|
+
TSImportType: ['argument', 'options', 'qualifier', 'typeArguments'],
|
|
141
|
+
TSIndexedAccessType: ['objectType', 'indexType'],
|
|
142
142
|
TSIndexSignature: ['parameters', 'typeAnnotation'],
|
|
143
143
|
TSInferType: ['typeParameter'],
|
|
144
144
|
TSInstantiationExpression: ['expression', 'typeArguments'],
|
|
@@ -149,7 +149,7 @@ const additionalKeys = {
|
|
|
149
149
|
TSIntrinsicKeyword: [],
|
|
150
150
|
TSLiteralType: ['literal'],
|
|
151
151
|
TSMappedType: ['key', 'constraint', 'nameType', 'typeAnnotation'],
|
|
152
|
-
TSMethodSignature: ['
|
|
152
|
+
TSMethodSignature: ['key', 'typeParameters', 'params', 'returnType'],
|
|
153
153
|
TSModuleBlock: ['body'],
|
|
154
154
|
TSModuleDeclaration: ['id', 'body'],
|
|
155
155
|
TSNamedTupleMember: ['label', 'elementType'],
|
|
@@ -162,7 +162,7 @@ const additionalKeys = {
|
|
|
162
162
|
TSOptionalType: ['typeAnnotation'],
|
|
163
163
|
TSParameterProperty: ['decorators', 'parameter'],
|
|
164
164
|
TSPrivateKeyword: [],
|
|
165
|
-
TSPropertySignature: ['
|
|
165
|
+
TSPropertySignature: ['key', 'typeAnnotation'],
|
|
166
166
|
TSProtectedKeyword: [],
|
|
167
167
|
TSPublicKeyword: [],
|
|
168
168
|
TSQualifiedName: ['left', 'right'],
|
|
@@ -183,7 +183,7 @@ const additionalKeys = {
|
|
|
183
183
|
TSTypeParameter: ['name', 'constraint', 'default'],
|
|
184
184
|
TSTypeParameterDeclaration: ['params'],
|
|
185
185
|
TSTypeParameterInstantiation: ['params'],
|
|
186
|
-
TSTypePredicate: ['
|
|
186
|
+
TSTypePredicate: ['parameterName', 'typeAnnotation'],
|
|
187
187
|
TSTypeQuery: ['exprName', 'typeArguments'],
|
|
188
188
|
TSTypeReference: ['typeName', 'typeArguments'],
|
|
189
189
|
TSUndefinedKeyword: [],
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@typescript-eslint/visitor-keys",
|
|
3
|
-
"version": "8.33.2-alpha.
|
|
3
|
+
"version": "8.33.2-alpha.3",
|
|
4
4
|
"description": "Visitor keys used to help traverse the TypeScript-ESTree AST",
|
|
5
5
|
"files": [
|
|
6
6
|
"dist",
|
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
"typecheck": "yarn run -BT nx typecheck"
|
|
47
47
|
},
|
|
48
48
|
"dependencies": {
|
|
49
|
-
"@typescript-eslint/types": "8.33.2-alpha.
|
|
49
|
+
"@typescript-eslint/types": "8.33.2-alpha.3",
|
|
50
50
|
"eslint-visitor-keys": "^4.2.0"
|
|
51
51
|
},
|
|
52
52
|
"devDependencies": {
|