deno/tests/specs/check/check_node_builtin_modules/mod.ts.tsgo.out
Nathan Whitaker b252cc78c2
feat(unstable): typescript-go integration for deno check (#30920)
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>
2025-10-20 09:59:54 -07:00

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.