mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
40 lines
728 B
Diff
40 lines
728 B
Diff
--- old.moduleExportsElementAccessAssignment.js
|
|
+++ new.moduleExportsElementAccessAssignment.js
|
|
@@= skipped -19, +19 lines =@@
|
|
|
|
|
|
//// [mod1.d.ts]
|
|
-export namespace a {
|
|
- let x: string;
|
|
-}
|
|
-export namespace b {
|
|
- let x_1: string;
|
|
- export { x_1 as x };
|
|
-}
|
|
-declare namespace _default {
|
|
- let x_2: string;
|
|
- export { x_2 as x };
|
|
-}
|
|
+export declare var a: {
|
|
+ x: string;
|
|
+};
|
|
+export declare var b: {
|
|
+ x: string;
|
|
+};
|
|
+declare const _default: {
|
|
+ x: string;
|
|
+};
|
|
export default _default;
|
|
-export namespace c {
|
|
- let x_3: string;
|
|
- export { x_3 as x };
|
|
-}
|
|
-export namespace d {
|
|
- let e: number;
|
|
-}
|
|
+export declare var c: {
|
|
+ x: string;
|
|
+};
|
|
+export declare var d: {};
|
|
//// [mod2.d.ts]
|
|
export {};
|