Files
tsgo/testdata/baselines/reference/submoduleAccepted/compiler/esModuleInteropPrettyErrorRelatedInformation.errors.txt.diff

819 B

--- old.esModuleInteropPrettyErrorRelatedInformation.errors.txt
+++ new.esModuleInteropPrettyErrorRelatedInformation.errors.txt
@@= skipped -3, +3 lines =@@
3 invoke(foo);
~~~
 
- index.ts:1:1
+ index.ts:1:1 - Type originates at this import. A namespace-style import cannot be called or constructed, and will cause a failure at runtime. Consider using a default import or import require here instead.
1 import * as foo from "./foo";
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- Type originates at this import. A namespace-style import cannot be called or constructed, and will cause a failure at runtime. Consider using a default import or import require here instead.
 
 
==== foo.d.ts (0 errors) ====