Fix missing else statement

This commit is contained in:
Evan Sebastian
2016-05-24 05:52:15 +07:00
parent f1ac06f30d
commit eca94375e3

View File

@@ -2812,8 +2812,10 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
if (languageVersion === ScriptTarget.ES3 && name.text === "default") {
write('["default"]');
}
write(".");
emitNodeWithCommentsAndWithoutSourcemap(specifier.name);
else {
write(".");
emitNodeWithCommentsAndWithoutSourcemap(specifier.name);
}
emitEnd(specifier.name);
write(" = ");
}