InlayHint

constructor(position: Position, label: String, kind: InlayHintKind = definedExternally)(source)

Creates a new inlay hint.

Parameters

position

The position of the hint.

label

The label of the hint.

kind

The kind of the hint.

Online Documentation


constructor(position: Position, label: ReadonlyArray<InlayHintLabelPart>, kind: InlayHintKind = definedExternally)(source)