mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-05-23 17:30:04 -05:00
Merge remote-tracking branch 'origin/master' into localStorageForExportedNames
This commit is contained in:
@@ -5615,7 +5615,7 @@ if (typeof __param !== "function") __param = function (paramIndex, decorator) {
|
||||
paramEmitted = true;
|
||||
}
|
||||
|
||||
if (isExternalModule(node)) {
|
||||
if (isExternalModule(node) || compilerOptions.separateCompilation) {
|
||||
if (languageVersion >= ScriptTarget.ES6) {
|
||||
emitES6Module(node, startIndex);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user