mirror of
https://github.com/denoland/deno.git
synced 2024-12-23 15:49:44 -05:00
ac4a5f74b8
Fork PR: https://github.com/denoland/TypeScript/pull/10 Closes #23080
4 lines
165 B
TypeScript
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();
|