Skip to content

Commit

Permalink
fix(visitor-keys): add key to StaticBlock (v5)
Browse files Browse the repository at this point in the history
  • Loading branch information
ota-meshi committed Aug 29, 2021
1 parent 93f3180 commit 8ea83e9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/visitor-keys/src/visitor-keys.ts
Expand Up @@ -51,7 +51,7 @@ const additionalKeys: AdditionalKeys = {
PropertyDefinition: ['decorators', 'key', 'typeAnnotation', 'value'],
RestElement: ['decorators', 'argument', 'typeAnnotation'],
TaggedTemplateExpression: ['tag', 'typeParameters', 'quasi'],
StaticBlock: [],
StaticBlock: ['body'],

// JSX
JSXOpeningElement: ['name', 'typeParameters', 'attributes'],
Expand Down

0 comments on commit 8ea83e9

Please sign in to comment.