mirror of
https://github.com/denoland/deno.git
synced 2024-12-13 19:12:20 -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>
17 lines
492 B
Text
17 lines
492 B
Text
Check file:///[WILDLINE]main.js
|
|
error: TS2580 [ERROR]: Cannot find name 'module'.
|
|
module.exports.add = function (a, b) {
|
|
~~~~~~
|
|
at file:///[WILDLINE]
|
|
|
|
TS7006 [ERROR]: Parameter 'a' implicitly has an 'any' type.
|
|
module.exports.add = function (a, b) {
|
|
^
|
|
at file:///[WILDLINE]
|
|
|
|
TS7006 [ERROR]: Parameter 'b' implicitly has an 'any' type.
|
|
module.exports.add = function (a, b) {
|
|
^
|
|
at file:///[WILDLINE]
|
|
|
|
Found 3 errors.
|