mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
22 lines
937 B
Diff
22 lines
937 B
Diff
--- old.declarationEmitUnknownImport2(target=es2015).errors.txt
|
|
+++ new.declarationEmitUnknownImport2(target=es2015).errors.txt
|
|
@@= skipped -2, +2 lines =@@
|
|
declarationEmitUnknownImport2.ts(1,12): error TS2304: Cannot find name 'From'.
|
|
declarationEmitUnknownImport2.ts(1,12): error TS2503: Cannot find namespace 'From'.
|
|
declarationEmitUnknownImport2.ts(1,17): error TS1005: ';' expected.
|
|
-
|
|
-
|
|
-==== declarationEmitUnknownImport2.ts (5 errors) ====
|
|
+declarationEmitUnknownImport2.ts(2,1): error TS2303: Circular definition of import alias 'Foo'.
|
|
+
|
|
+
|
|
+==== declarationEmitUnknownImport2.ts (6 errors) ====
|
|
import Foo From './Foo'; // Syntax error
|
|
~~~~~~~~~~~~~~~
|
|
!!! error TS2303: Circular definition of import alias 'Foo'.
|
|
@@= skipped -15, +16 lines =@@
|
|
~~~~~~~
|
|
!!! error TS1005: ';' expected.
|
|
export default Foo
|
|
+ ~~~~~~~~~~~~~~~~~~
|
|
+!!! error TS2303: Circular definition of import alias 'Foo'.
|