mirror of
https://github.com/denoland/deno.git
synced 2025-12-23 08:48:24 +00:00
Integrated only with deno check (and test, `run --check`, etc) currently. All spec tests for deno check pass except for 3, which i've disabled --------- Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com> Co-authored-by: Divy Srivastava <me@littledivy.com>
18 lines
614 B
Text
18 lines
614 B
Text
TS2769 [ERROR]: No overload matches this call.
|
|
const _data = fs.readFileSync("./node_builtin.js", 123);
|
|
~~~
|
|
at [WILDLINE]/mod.ts:2:52
|
|
|
|
TS2771 [ERROR]: The last overload is declared here.
|
|
export function readFileSync(
|
|
~~~~~~~~~~~~
|
|
at [WILDLINE]/fs.d.ts:2925:21
|
|
|
|
TS4104 [ERROR]: The type 'readonly string[]' is 'readonly' and cannot be assigned to the mutable type 'number[]'.
|
|
const _testString: number[] = builtinModules;
|
|
~~~~~~~~~~~
|
|
at [WILDLINE]/mod.ts:9:7
|
|
|
|
Found 2 errors.
|
|
|
|
error: Type checking failed.
|