mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
24 lines
533 B
Diff
24 lines
533 B
Diff
--- old.augmentExportEquals2.js
|
|
+++ new.augmentExportEquals2.js
|
|
@@= skipped -12, +12 lines =@@
|
|
}
|
|
|
|
//// [file3.ts]
|
|
+
|
|
+//// [file3.ts]
|
|
import x = require("./file1");
|
|
import "./file2";
|
|
let a: x.A; // should not work
|
|
|
|
-//// [file1.js]
|
|
-"use strict";
|
|
-function foo() { }
|
|
-module.exports = foo;
|
|
-//// [file2.js]
|
|
-"use strict";
|
|
-Object.defineProperty(exports, "__esModule", { value: true });
|
|
//// [file3.js]
|
|
"use strict";
|
|
-Object.defineProperty(exports, "__esModule", { value: true });
|
|
-require("./file2");
|
|
-let a; // should not work
|