We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b250acd commit 1243e11Copy full SHA for 1243e11
src/harness/unittests/compileOnSave.ts
@@ -520,7 +520,7 @@ namespace ts.projectSystem {
520
521
const expectedEmittedFileName = "/a/b/f1.js";
522
assert.isTrue(host.fileExists(expectedEmittedFileName));
523
- assert.equal(host.readFile(expectedEmittedFileName), `"use strict";\r\nfunction Foo() { return 10; }\r\nexports.Foo = Foo;\r\nexports.__esModule = true;\r\n`);
+ assert.equal(host.readFile(expectedEmittedFileName), `"use strict";\r\nexports.__esModule = true;\r\nfunction Foo() { return 10; }\r\nexports.Foo = Foo;\r\n`);
524
});
525
526
it("shoud not emit js files in external projects", () => {
0 commit comments