Files
tsgo/testdata/baselines/reference/submoduleAccepted/conformance/jsDeclarationsExportForms(target=es2015).js.diff

57 lines
1.2 KiB
Diff

--- old.jsDeclarationsExportForms(target=es2015).js
+++ new.jsDeclarationsExportForms(target=es2015).js
@@= skipped -260, +260 lines =@@
//// [cls.d.ts]
-export class Foo {
+export declare class Foo {
}
//// [func.d.ts]
-export function func(): void;
+export declare function func(): void;
//// [bar.d.ts]
export * from "./cls";
//// [bar2.d.ts]
export * from "./func";
export * from "./cls";
//// [baz.d.ts]
-export { Foo };
import { Foo } from "./cls";
+export { Foo };
//// [bat.d.ts]
+import * as ns from "./cls";
export default ns;
-import * as ns from "./cls";
//// [ban.d.ts]
-export { ns };
import * as ns from "./cls";
+export { ns };
//// [bol.d.ts]
+import * as ns from "./cls";
export { ns as classContainer };
-import * as ns from "./cls";
//// [cjs.d.ts]
-export { ns };
+declare const _exports: {
+ ns: typeof ns;
+};
+export = _exports;
import ns = require("./cls");
//// [cjs2.d.ts]
export = ns;
@@= skipped -34, +37 lines =@@
export { ns as names };
import ns = require("./cls");
//// [includeAll.d.ts]
-export {};
+import "./cjs4";
+import "./cjs3";
+import "./cjs2";
+import "./cjs";
+import "./bol";
+import "./ban";
+import "./bat";
+import "./baz";
+import "./bar";
+import "./bar2";