Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
patricklx authored Apr 13, 2024
1 parent ca7fd51 commit e3f5ad4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/js-utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit e3f5ad4

Please sign in to comment.