mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-11-18 20:11:14 +00:00
new baselines for sourcemaps tests (given that modules can now get emitted into single out)
This commit is contained in:
1 parent
122753b50a
commit
8e409f34c7
342 files changed
+14323
-2713
No files matched your search
@@ -7053,7 +7053,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, Promi
|
||||
let startIndex = emitDirectivePrologues(node.statements, /*startWithNewLine*/ false);
|
||||
|
||||
if (isExternalModule(node) || compilerOptions.isolatedModules) {
|
||||
if (root) {
|
||||
if (root || (!isExternalModule(node) && compilerOptions.isolatedModules)) {
|
||||
let emitModule = moduleEmitDelegates[modulekind] || moduleEmitDelegates[ModuleKind.CommonJS];
|
||||
emitModule(node, startIndex);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user