Options
All
  • Public
  • Public/Protected
  • All
Menu

Represents a parameter of a callable-signature. A parameter can have a label and a doc-comment.

层级

  • ParameterInformation

索引

Constructors(1)

Properties(2)

Constructors(1)

constructor

  • Creates a new parameter information object.

    Parameters

    • label: string | [number, number]

      A label string or inclusive start and exclusive end offsets within its containing signature label.

    • Optional documentation: string | MarkdownString

      A doc string.

    Returns ParameterInformation

Properties(2)

label

label: string | [number, number]

The label of this signature.

Either a string or inclusive start and exclusive end offsets within its containing signature label. Note: A label of type string must be a substring of its containing signature information's label.

Optional documentation

documentation: string | MarkdownString

The human-readable doc-comment of this signature. Will be shown in the UI but can be omitted.

友链:VS Code 中文文档 | VS Code 官网文档 | VS Code 扩展市场

Generated by TypeDoc. Maintained by 洛竹