TSDoc @returns {@link foo} fails #50730
Labels
Bug
A bug in TypeScript
Domain: JSDoc
Relates to JSDoc parsing and type generation
Help Wanted
You can do this
Milestone
Type: Bug
In a workspace with TypeScript installed, open a new
foo.d.ts
, enter these following codeThe first and second
@returns
breaks while the third is correct. It seems the@returns
has captured the{
part from@link
. This doc behaves correctly on TSDoc Playground.VS Code version: Code 1.71.0 (784b0177c56c607789f9638da7b6bf3230d47a8c, 2022-09-01T07:36:10.600Z)
OS version: Windows_NT x64 10.0.19044
Modes:
Sandboxed: No
System Info
canvas_oop_rasterization: disabled_off
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
multiple_raster_threads: enabled_on
opengl: enabled_on
rasterization: enabled
raw_draw: disabled_off_ok
skia_renderer: enabled_on
video_decode: enabled
video_encode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
webgpu: disabled_off
Extensions (44)
(2 theme extensions excluded)
A/B Experiments
The text was updated successfully, but these errors were encountered: