diff --git a/packages/babel-parser/src/plugins/typescript/scope.ts b/packages/babel-parser/src/plugins/typescript/scope.ts index 9e08e2c1376e..a23e22b7af95 100644 --- a/packages/babel-parser/src/plugins/typescript/scope.ts +++ b/packages/babel-parser/src/plugins/typescript/scope.ts @@ -148,7 +148,7 @@ export default class TypeScriptScopeHandler extends ScopeHandler= 0; i--) { const stack = this.scopeStack[i]; if (stack.types.has(name) || stack.exportOnlyBindings.has(name)) return; }