0
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2025-02-20 20:33:42 -05:00
denoland-deno/tests/specs/npm/cjs_import_dual/check.out
David Sherret 4648fc4570
fix(check): compiler options from workspace members (#27785)
Co-authored-by: Nayeem Rahman <nayeemrmn99@gmail.com>
2025-01-28 10:49:58 -05:00

11 lines
514 B
Text

Download http://localhost:4260/@denotest%2fcjs-import-dual
Download http://localhost:4260/@denotest%2fdual-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
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
error: Type checking failed.