From 2a1e21117425890fe364fa2b6119deb6e7bb29ac Mon Sep 17 00:00:00 2001 From: liuxingbaoyu <30521560+liuxingbaoyu@users.noreply.github.com> Date: Mon, 19 Sep 2022 16:45:26 +0800 Subject: [PATCH] Update packages/babel-parser/src/plugins/typescript/scope.ts MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Huáng Jùnliàng --- packages/babel-parser/src/plugins/typescript/scope.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }