mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
16 lines
569 B
Diff
16 lines
569 B
Diff
--- old.exportAsNamespaceConflict.errors.txt
|
|
+++ new.exportAsNamespaceConflict.errors.txt
|
|
@@= skipped -0, +0 lines =@@
|
|
+/a.d.ts(2,1): error TS2303: Circular definition of import alias 'N'.
|
|
/a.d.ts(3,1): error TS2303: Circular definition of import alias 'N'.
|
|
|
|
|
|
-==== /a.d.ts (1 errors) ====
|
|
+==== /a.d.ts (2 errors) ====
|
|
declare global { namespace N {} }
|
|
export = N;
|
|
+ ~~~~~~~~~~~
|
|
+!!! error TS2303: Circular definition of import alias 'N'.
|
|
export as namespace N;
|
|
~~~~~~~~~~~~~~~~~~~~~~
|
|
!!! error TS2303: Circular definition of import alias 'N'.
|