From e3f5ad45d01072d4029f653aa10ad7b7fd440276 Mon Sep 17 00:00:00 2001 From: Patrick Pircher Date: Sat, 13 Apr 2024 12:44:13 +0200 Subject: [PATCH] fix --- src/js-utils.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;