+ type InlayHintKind = "Type" | "Parameter" | "Enum";
+ interface InlayHintsRequestArgs extends FileRequestArgs {
+ /**
+ * Start position of the span.
+ */
+ start: number;
+ /**
+ * Length of the span.
+ */
+ length: number;
+ }
+ interface InlayHintsRequest extends Request {
+ command: CommandTypes.ProvideInlayHints;
+ arguments: InlayHintsRequestArgs;
+ }
+ interface InlayHintItem {
+ text: string;
+ position: Location;
+ kind: InlayHintKind;
+ whitespaceBefore?: boolean;
+ whitespaceAfter?: boolean;
+ }
+ interface InlayHintsResponse extends Response {
+ body?: InlayHintItem[];
+ }