Skip to content

Commit eca9437

Browse files
committed
Fix missing else statement
1 parent f1ac06f commit eca9437

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

src/compiler/emitter.ts

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2812,8 +2812,10 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
28122812
if (languageVersion === ScriptTarget.ES3 && name.text === "default") {
28132813
write('["default"]');
28142814
}
2815-
write(".");
2816-
emitNodeWithCommentsAndWithoutSourcemap(specifier.name);
2815+
else {
2816+
write(".");
2817+
emitNodeWithCommentsAndWithoutSourcemap(specifier.name);
2818+
}
28172819
emitEnd(specifier.name);
28182820
write(" = ");
28192821
}

0 commit comments

Comments
 (0)