1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-12 02:27:46 -05:00
denoland-deno/tests/specs/npm/cjs_import_dual/main.ts

4 lines
139 B
TypeScript

import { getKind } from "npm:@denotest/cjs-import-dual@1";
const kind: "esm" = getKind(); // should cause a type error
console.log(kind);