Skip to content

Commit 39077f6

Browse files
committed
PR feedback
1 parent 098d59c commit 39077f6

1 file changed

Lines changed: 1 addition & 8 deletions

File tree

src/compiler/emitter.ts

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1544,7 +1544,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
15441544
// must instead be rewritten to point to a temporary variable to avoid issues with the double-bind
15451545
// behavior of class names in ES6.
15461546
const declaration = resolver.getReferencedValueDeclaration(node);
1547-
if (declaration && declaration.kind === SyntaxKind.ClassDeclaration) {
1547+
if (declaration) {
15481548
const classAlias = decoratedClassAliases[getNodeId(declaration)];
15491549
if (classAlias !== undefined) {
15501550
write(classAlias);
@@ -5195,13 +5195,6 @@ const _super = (function (geti, seti) {
51955195
//
51965196
// TypeScript | Javascript
51975197
// --------------------------------|------------------------------------
5198-
// @dec | let default_1 = class {
5199-
// export default class { | static x() { return default_1.y; }
5200-
// static x() { return C.y; } | }
5201-
// static y = 1; | default_1.y = 1;
5202-
// } | default_1 = __decorate([dec], default_1);
5203-
// | export default default_1;
5204-
// --------------------------------|------------------------------------
52055198
// @dec | let C_1;
52065199
// export default class C { | let C = C_1 = class C {
52075200
// static x() { return C.y; } | static x() { return C_1.y; }

0 commit comments

Comments
 (0)