Files
tsgo/testdata/baselines/reference/compiler/importUrlNodeModulesExist.errors.txt

15 lines
644 B
Plaintext

/src/index.ts(1,8): error TS2882: Cannot find module or type declarations for side-effect import of 'https://deno.land/[email protected]/path/mod.ts'.
==== /node_modules/foo/package.json (0 errors) ====
{ "name": "foo", "version": "1.0.0" }
==== /node_modules/foo/index.d.ts (0 errors) ====
export declare function useFoo(): string;
==== /src/index.ts (1 errors) ====
import "https://deno.land/[email protected]/path/mod.ts"
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
!!! error TS2882: Cannot find module or type declarations for side-effect import of 'https://deno.land/[email protected]/path/mod.ts'.