Files
tsgo/testdata/baselines/reference/submoduleAccepted/compiler/exportAsNamespaceConflict.errors.txt.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'.