How do I add descriptions for a and b in TSDoc? I want the description be shown when I hover on a property argument in a function call like fn({ a }).
// This does not work
/**
* @param props
* @param props.a docs for a
* @param props.b docs for b
*/
function fn({a, b}: {a: string, b: string}) {}
fn({ a })
// ~
// Expecting hover info for `a`.
This does works