0
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2025-02-22 21:23:32 -05:00
denoland-deno/tests/specs/check/ts_in_npm_pkg/check.out
David Sherret 157feb9b7d
fix(check): better handling of TypeScript in npm packages for type checking (#27853)
1. Allows resolving to `.ts` files for type checking.
2. Probes for `.ts` files to use for type checking.

To emphasize, this is only for type checking.
2025-01-30 15:34:58 +01:00

7 lines
199 B
Text

Check file:///[WILDLINE]/main.ts
TS2322 [ERROR]: Type 'string' is not assignable to type 'Test'.
const test: Test = "";
~~~~
at file:///[WILDLINE]/main.ts:3:7
error: Type checking failed.