mirror of
https://github.com/denoland/deno.git
synced 2024-12-12 02:27:46 -05:00
10 lines
487 B
Text
10 lines
487 B
Text
|
Download http://localhost:4260/@denotest/cjs-import-dual
|
||
|
Download http://localhost:4260/@denotest/dual-cjs-esm
|
||
|
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
|
||
|
error: TS2322 [ERROR]: Type '"cjs"' is not assignable to type '"esm"'.
|
||
|
const kind: "esm" = getKind(); // should cause a type error
|
||
|
~~~~
|
||
|
at file:///[WILDLINE]/cjs_import_dual/main.ts:3:7
|