mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
30 lines
984 B
Plaintext
30 lines
984 B
Plaintext
error TS5110: Option 'module' must be set to 'Node16' when option 'moduleResolution' is set to 'Node16'.
|
|
|
|
|
|
!!! error TS5110: Option 'module' must be set to 'Node16' when option 'moduleResolution' is set to 'Node16'.
|
|
==== /node_modules/dep/package.json (0 errors) ====
|
|
{
|
|
"name": "dep",
|
|
"version": "1.0.0",
|
|
"exports": {
|
|
".": {
|
|
"import": "./dist/index.mjs",
|
|
"require": "./dist/index.js",
|
|
"types": "./dist/index.d.ts"
|
|
}
|
|
}
|
|
}
|
|
|
|
==== /node_modules/dep/dist/index.d.ts (0 errors) ====
|
|
export {};
|
|
|
|
==== /node_modules/dep/dist/index.mjs (0 errors) ====
|
|
export {};
|
|
|
|
==== /index.mts (0 errors) ====
|
|
import {} from "dep";
|
|
// Should be an untyped resolution to dep/dist/index.mjs,
|
|
// but the first search is only for TS files, and when
|
|
// there's no dist/index.d.mts, it continues looking for
|
|
// matching conditions and resolves via `types`.
|
|
|