33 lines
1.4 KiB
Plaintext
33 lines
1.4 KiB
Plaintext
|
tests/cases/conformance/node/index.cts(2,23): error TS2307: Cannot find module '#type' or its corresponding type declarations.
|
||
|
tests/cases/conformance/node/index.mts(2,23): error TS2307: Cannot find module '#type' or its corresponding type declarations.
|
||
|
tests/cases/conformance/node/index.ts(2,23): error TS2307: Cannot find module '#type' or its corresponding type declarations.
|
||
|
|
||
|
|
||
|
==== tests/cases/conformance/node/index.ts (1 errors) ====
|
||
|
// esm format file
|
||
|
import * as type from "#type";
|
||
|
~~~~~~~
|
||
|
!!! error TS2307: Cannot find module '#type' or its corresponding type declarations.
|
||
|
type;
|
||
|
==== tests/cases/conformance/node/index.mts (1 errors) ====
|
||
|
// esm format file
|
||
|
import * as type from "#type";
|
||
|
~~~~~~~
|
||
|
!!! error TS2307: Cannot find module '#type' or its corresponding type declarations.
|
||
|
type;
|
||
|
==== tests/cases/conformance/node/index.cts (1 errors) ====
|
||
|
// esm format file
|
||
|
import * as type from "#type";
|
||
|
~~~~~~~
|
||
|
!!! error TS2307: Cannot find module '#type' or its corresponding type declarations.
|
||
|
type;
|
||
|
==== tests/cases/conformance/node/package.json (0 errors) ====
|
||
|
{
|
||
|
"name": "package",
|
||
|
"private": true,
|
||
|
"type": "module",
|
||
|
"exports": "package",
|
||
|
"imports": {
|
||
|
"#type": "package"
|
||
|
}
|
||
|
}
|