mirror of
https://github.com/denoland/deno.git
synced 2024-11-23 15:16:54 -05:00
36c5461129
This commit adds support for type checking codeblocks in the JS doc comments.
5 lines
249 B
Text
5 lines
249 B
Text
Check [WILDCARD]/doc.ts:2-7
|
|
error: TS2367 [ERROR]: This condition will always return 'false' since the types 'string' and 'number' have no overlap.
|
|
console.assert(example() == 42);
|
|
~~~~~~~~~~~~~~~
|
|
at [WILDCARD]/doc.ts:2-7.ts:3:16
|