2024-10-18 20:38:57 +02:00
|
|
|
Download http://localhost:4260/@denotest%2fcjs-import-dual
|
|
|
|
Download http://localhost:4260/@denotest%2fdual-cjs-esm
|
2024-07-10 14:46:25 -04:00
|
|
|
Download http://localhost:4260/@denotest/cjs-import-dual/1.0.0.tgz
|
|
|
|
Download http://localhost:4260/@denotest/dual-cjs-esm/1.0.0.tgz
|
|
|
|
Check file:///[WILDLINE]/cjs_import_dual/main.ts
|
2025-01-28 10:49:58 -05:00
|
|
|
TS2322 [ERROR]: Type '"cjs"' is not assignable to type '"esm"'.
|
2024-07-10 14:46:25 -04:00
|
|
|
const kind: "esm" = getKind(); // should cause a type error
|
|
|
|
~~~~
|
|
|
|
at file:///[WILDLINE]/cjs_import_dual/main.ts:3:7
|
2025-01-28 10:49:58 -05:00
|
|
|
|
|
|
|
error: Type checking failed.
|