Skip to content

Commit b4bb5f3

Browse files
committed
PR feedback
1 parent 7b4b236 commit b4bb5f3

File tree

1 file changed

+1
-8
lines changed

1 file changed

+1
-8
lines changed

Diff for: src/compiler/emitter.ts

+1-8
Original file line numberDiff line numberDiff line change
@@ -1547,7 +1547,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
15471547
// must instead be rewritten to point to a temporary variable to avoid issues with the double-bind
15481548
// behavior of class names in ES6.
15491549
const declaration = resolver.getReferencedValueDeclaration(node);
1550-
if (declaration && declaration.kind === SyntaxKind.ClassDeclaration) {
1550+
if (declaration) {
15511551
const classAlias = decoratedClassAliases[getNodeId(declaration)];
15521552
if (classAlias !== undefined) {
15531553
write(classAlias);
@@ -5198,13 +5198,6 @@ const _super = (function (geti, seti) {
51985198
//
51995199
// TypeScript | Javascript
52005200
// --------------------------------|------------------------------------
5201-
// @dec | let default_1 = class {
5202-
// export default class { | static x() { return default_1.y; }
5203-
// static x() { return C.y; } | }
5204-
// static y = 1; | default_1.y = 1;
5205-
// } | default_1 = __decorate([dec], default_1);
5206-
// | export default default_1;
5207-
// --------------------------------|------------------------------------
52085201
// @dec | let C_1;
52095202
// export default class C { | let C = C_1 = class C {
52105203
// static x() { return C.y; } | static x() { return C_1.y; }

0 commit comments

Comments
 (0)