Files
tsgo/testdata/baselines/reference/submoduleAccepted/conformance/jsDeclarationsCommonjsRelativePath.js.diff

23 lines
472 B
Diff

--- old.jsDeclarationsCommonjsRelativePath.js
+++ new.jsDeclarationsCommonjsRelativePath.js
@@= skipped -13, +13 lines =@@
//// [thing.d.ts]
-export class Thing {
+declare const _exports: {
+ Thing: typeof Thing;
+};
+export = _exports;
+declare class Thing {
}
//// [reexport.d.ts]
-export { Thing };
-import Thing_1 = require("./thing");
-import Thing = Thing_1.Thing;
+declare const _exports: {
+ Thing: {
+ new (): {};
+ };
+};
+export = _exports;