Skip to content

support destructuring parameter @param tag in tsdoc #33367

Open
@xiaoxiangmoe

Description

@xiaoxiangmoe

tsdoc rule:

microsoft/tsdoc#186

vscode issue:

microsoft/vscode#80368

example:

/**
 *
 * @param bar - the bar parameter
 * @param a - the first parameter
 * @param b - the second parameter
 * @param c - the third parameter
 * @returns the return value
 */
function foo(bar: string, {
  a,
  b,
  c
}:{
  a: string,
  b: number,
  c: string
}) {

  return bar + a;
}

image
image

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions