Skip to content

Commit

Permalink
Fix new uses of old namespaces
Browse files Browse the repository at this point in the history
  • Loading branch information
jakebailey committed Feb 6, 2023
1 parent 62e94d3 commit 3a67373
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion src/compiler/transformers/esDecorators.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ import {
ComputedPropertyName,
ConstructorDeclaration,
createAccessorPropertyBackingField,
Debug,
Decorator,
ElementAccessExpression,
EmitFlags,
Expand Down Expand Up @@ -177,6 +176,8 @@ import {
VisitResult,
} from "../_namespaces/ts";

import * as Debug from "../debug";

// Class/Decorator evaluation order, as it pertains to this transformer:
//
// 1. Class decorators are evaluated outside of the private name scope of the class.
Expand Down
3 changes: 2 additions & 1 deletion src/compiler/transformers/legacyDecorators.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ import {
ClassLikeDeclaration,
classOrConstructorParameterIsDecorated,
ConstructorDeclaration,
Debug,
Decorator,
elideNodes,
EmitFlags,
Expand Down Expand Up @@ -82,6 +81,8 @@ import {
VisitResult,
} from "../_namespaces/ts";

import * as Debug from "../debug";

/** @internal */
export function transformLegacyDecorators(context: TransformationContext): (x: SourceFile | Bundle) => SourceFile | Bundle {
const {
Expand Down

0 comments on commit 3a67373

Please sign in to comment.