镜像站点 · 本页由第三方 GitHub 只读镜像提供,非 GitHub 官方站点,不接受任何登录或凭据输入。前往 github.com
Skip to content

support destructuring parameter @param tag in tsdoc #33367

Description

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions