Open Shrugsy opened 3 years ago
Currently when using a docblock link for params, it will show all params in a list, e.g.
/** * * @param arg1 first arg * @param opts.opt1 first option * @param opts.opt2 second option */ function foo(arg1, { opt1, opt2 }) {}
[params](docblock://index.ts?token=foo)
This feature request is for the ability to link directly to a specific param, and only provide the comment for that param. e.g. (pseudo-code)
[params](docblock://index.ts?token=foo?param=opts.opt1)
first arg
Background
Currently when using a docblock link for params, it will show all params in a list, e.g.
Input docblock
docblock link
Output
Request
This feature request is for the ability to link directly to a specific param, and only provide the comment for that param. e.g. (pseudo-code)
docblock link
Desired output
first arg