Skip to content

Commit 3a67373

Browse files
committed
Fix new uses of old namespaces
1 parent 62e94d3 commit 3a67373

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

src/compiler/transformers/esDecorators.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@ import {
2525
ComputedPropertyName,
2626
ConstructorDeclaration,
2727
createAccessorPropertyBackingField,
28-
Debug,
2928
Decorator,
3029
ElementAccessExpression,
3130
EmitFlags,
@@ -177,6 +176,8 @@ import {
177176
VisitResult,
178177
} from "../_namespaces/ts";
179178

179+
import * as Debug from "../debug";
180+
180181
// Class/Decorator evaluation order, as it pertains to this transformer:
181182
//
182183
// 1. Class decorators are evaluated outside of the private name scope of the class.

src/compiler/transformers/legacyDecorators.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ import {
1414
ClassLikeDeclaration,
1515
classOrConstructorParameterIsDecorated,
1616
ConstructorDeclaration,
17-
Debug,
1817
Decorator,
1918
elideNodes,
2019
EmitFlags,
@@ -82,6 +81,8 @@ import {
8281
VisitResult,
8382
} from "../_namespaces/ts";
8483

84+
import * as Debug from "../debug";
85+
8586
/** @internal */
8687
export function transformLegacyDecorators(context: TransformationContext): (x: SourceFile | Bundle) => SourceFile | Bundle {
8788
const {

0 commit comments

Comments
 (0)