Skip to content

support destructuring parameter @param tag in tsdoc #80368

@xiaoxiangmoe

Description

@xiaoxiangmoe

tsdoc rule:

microsoft/tsdoc#186

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

Labels

typescriptTypescript support issuesupstreamIssue identified as 'upstream' component related (exists outside of VS Code)

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions