0
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2025-02-21 04:42:51 -05:00
denoland-deno/tests/specs/check/workspace/root.out
David Sherret 4648fc4570
fix(check): compiler options from workspace members (#27785)
Co-authored-by: Nayeem Rahman <nayeemrmn99@gmail.com>
2025-01-28 10:49:58 -05:00

20 lines
661 B
Text

Check file:///[WILDLINE]/package-a/mod.ts
Check file:///[WILDLINE]/package-b/mod.ts
Check file:///[WILDLINE]/package-d/mod.ts
TS2322 [ERROR]: Type 'number' is not assignable to type 'string'.
const test: string = add(1, 2);
~~~~
at file:///[WILDLINE]/package-b/mod.ts:3:7
Check file:///[WILDLINE]/package-c/mod.ts
TS2554 [ERROR]: Expected 2 arguments, but got 1.
console.log(Math.pow(""));
~~~
at file:///[WILDLINE]/package-c/check.js:1:18
An argument for 'y' was not provided.
pow(x: number, y: number): number;
~~~~~~~~~
at asset:///lib.es5.d.ts:744:20
error: Type checking failed.