Skip to content

Commit

Permalink
fix(visitor-keys): add missing visitor keys (#4731)
Browse files Browse the repository at this point in the history
  • Loading branch information
DMartens committed Mar 31, 2022
1 parent 068ea9b commit bb575a0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/visitor-keys/src/visitor-keys.ts
Expand Up @@ -49,7 +49,7 @@ const additionalKeys: AdditionalKeys = {
Identifier: ['decorators', 'typeAnnotation'],
ImportDeclaration: ['specifiers', 'source', 'assertions'],
ImportExpression: ['source', 'attributes'],
MethodDefinition: ['decorators', 'key', 'value'],
MethodDefinition: ['decorators', 'key', 'value', 'typeParameters'],
NewExpression: ['callee', 'typeParameters', 'arguments'],
ObjectPattern: ['decorators', 'properties', 'typeAnnotation'],
PropertyDefinition: ['decorators', 'key', 'typeAnnotation', 'value'],
Expand Down Expand Up @@ -110,7 +110,7 @@ const additionalKeys: AdditionalKeys = {
TSMethodSignature: ['typeParameters', 'key', 'params', 'returnType'],
TSModuleBlock: ['body'],
TSModuleDeclaration: ['id', 'body'],
TSNamedTupleMember: ['elementType'],
TSNamedTupleMember: ['label', 'elementType'],
TSNamespaceExportDeclaration: ['id'],
TSNeverKeyword: [],
TSNonNullExpression: ['expression'],
Expand Down

0 comments on commit bb575a0

Please sign in to comment.