mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
39 lines
888 B
Diff
39 lines
888 B
Diff
--- old.modulePreserve4.js
|
|
+++ new.modulePreserve4.js
|
|
@@= skipped -194, +194 lines =@@
|
|
|
|
|
|
//// [a.d.ts]
|
|
-export const x: 0;
|
|
+export declare const x = 0;
|
|
//// [b.d.ts]
|
|
-declare const _default: 0;
|
|
+declare const _default = 0;
|
|
export default _default;
|
|
//// [c.d.ts]
|
|
declare const _default: {
|
|
@@= skipped -10, +10 lines =@@
|
|
};
|
|
export = _default;
|
|
//// [d.d.ts]
|
|
-declare const _default: () => void;
|
|
export = _default;
|
|
+declare function _default(): void;
|
|
//// [e.d.mts]
|
|
-declare const _default: 0;
|
|
+declare const _default = 0;
|
|
export = _default;
|
|
//// [f.d.cts]
|
|
-declare const _default: 0;
|
|
+declare const _default = 0;
|
|
export default _default;
|
|
//// [g.d.ts]
|
|
declare const _default: 0;
|
|
@@= skipped -18, +18 lines =@@
|
|
//// [main3.d.cts]
|
|
export {};
|
|
//// [main4.d.cts]
|
|
-export const x: typeof import("./g");
|
|
+export declare var x: typeof import("./g");
|
|
//// [dummy.d.ts]
|
|
export {};
|