mirror of
https://github.com/denoland/deno.git
synced 2024-12-22 15:24:46 -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>
4 lines
157 B
TypeScript
4 lines
157 B
TypeScript
/// <reference types="npm:@types/node" />
|
|
exports.multiply = function (a: number, b: number): number {
|
|
return require("./divide.cts").divide(a, 1 / b);
|
|
};
|