1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-29 16:30:56 -05:00
denoland-deno/tests/specs/check/cjs_default_export/main.ts
2024-03-26 18:52:57 -04:00

4 lines
165 B
TypeScript

import cjsDefault from "npm:@denotest/cjs-default-export";
// should error since cjsDefault.default() is a number
export const Test: string = cjsDefault.default();