0
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2025-03-05 10:26:44 -05:00
deno/tests/specs/test/doc/main.out

14 lines
557 B
Text

Check [WILDCARD]/main.ts$6-9.js
Check [WILDCARD]/main.ts$10-13.jsx
Check [WILDCARD]/main.ts$14-17.ts
Check [WILDCARD]/main.ts$18-21.tsx
Check [WILDCARD]/main.ts$30-35.ts
TS2367 [ERROR]: This comparison appears to be unintentional because the types 'string' and 'number' have no overlap.
console.assert(check() == 42);
~~~~~~~~~~~~~
at [WILDCARD]/main.ts$30-35.ts:3:20
error: Type checking failed.
info: The program failed type-checking, but it still might work correctly.
hint: Re-run with --no-check to skip type-checking.