|
|
@ -92,7 +92,7 @@ export function ClassBody(node, context) {
|
|
|
|
|
|
|
|
|
|
|
|
// Replace parts of the class body
|
|
|
|
// Replace parts of the class body
|
|
|
|
for (const definition of node.body) {
|
|
|
|
for (const definition of node.body) {
|
|
|
|
if (definition.type === 'MethodDefinition' || definition.type === 'StaticBlock') {
|
|
|
|
if (definition.type !== 'PropertyDefinition') {
|
|
|
|
body.push(
|
|
|
|
body.push(
|
|
|
|
/** @type {MethodDefinition | StaticBlock} */ (context.visit(definition, child_state))
|
|
|
|
/** @type {MethodDefinition | StaticBlock} */ (context.visit(definition, child_state))
|
|
|
|
);
|
|
|
|
);
|
|
|
|