diff --git a/src/js-utils.ts b/src/js-utils.ts index 36183d3..d38e508 100644 --- a/src/js-utils.ts +++ b/src/js-utils.ts @@ -155,7 +155,7 @@ export class JSUtils { t.variableDeclarator(t.identifier(identifier), importedIdentifier), ]) ); - declaration.scope.registerBinding('let', declaration.get('declarations.0') as NodePath + declaration.scope.registerBinding('let', declaration.get('declarations.0') as NodePath); } this.#scopeLocals.add(identifier); return identifier;