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 f81831b commit 1b0e00d
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 @@ -50,7 +50,7 @@ const additionalKeys: AdditionalKeys = {
ObjectPattern: ['decorators', 'properties', 'typeAnnotation'],
RestElement: ['decorators', 'argument', 'typeAnnotation'],
TaggedTemplateExpression: ['tag', 'typeParameters', 'quasi'],
StaticBlock: [],
StaticBlock: ['body'],

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

0 comments on commit 1b0e00d

Please sign in to comment.