mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
30 lines
664 B
Diff
30 lines
664 B
Diff
--- old.jsDeclarationsExportAssignmentExpressionPlusSecondary(target=es2015).js
|
|
+++ new.jsDeclarationsExportAssignmentExpressionPlusSecondary(target=es2015).js
|
|
@@= skipped -31, +31 lines =@@
|
|
|
|
|
|
//// [index.d.ts]
|
|
-export namespace Strings {
|
|
- let a: string;
|
|
- let b: string;
|
|
-}
|
|
-export declare let thing: string;
|
|
-export declare let also: string;
|
|
-export declare namespace desc {
|
|
- let item: string;
|
|
-}
|
|
+declare const _exports: {
|
|
+ thing: string;
|
|
+ also: string;
|
|
+ desc: {
|
|
+ item: string;
|
|
+ };
|
|
+};
|
|
+export = _exports;
|
|
+declare namespace _exports {
|
|
+ export { Strings };
|
|
+}
|
|
+declare const Strings: {
|
|
+ a: string;
|
|
+ b: string;
|
|
+};
|