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

5 lines
139 B
TypeScript
Raw Normal View History

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