mirror of
https://github.com/denoland/deno.git
synced 2024-12-01 16:51:13 -05:00
826e42a5b5
* cts support * better cjs/cts type checking * deno compile cjs/cts support * More efficient detect cjs (going towards stabilization) * Determination of whether .js, .ts, .jsx, or .tsx is cjs or esm is only done after loading * Support `import x = require(...);` Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com>
5 lines
135 B
JavaScript
5 lines
135 B
JavaScript
import { add } from "./reexport.cjs";
|
|
import { multiply } from "./multiply.cts";
|
|
|
|
console.log(add(1, 2));
|
|
console.log(multiply(2, 3));
|