mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
19 lines
445 B
Diff
19 lines
445 B
Diff
--- old.jsDeclarationsConstsAsNamespacesWithReferences.js
|
|
+++ new.jsDeclarationsConstsAsNamespacesWithReferences.js
|
|
@@= skipped -18, +18 lines =@@
|
|
|
|
|
|
//// [index.d.ts]
|
|
-export namespace colors {
|
|
- let royalBlue: string;
|
|
-}
|
|
-export namespace brandColors {
|
|
- import purple = colors.royalBlue;
|
|
- export { purple };
|
|
-}
|
|
+export declare const colors: {
|
|
+ royalBlue: string;
|
|
+};
|
|
+export declare const brandColors: {
|
|
+ purple: string;
|
|
+};
|