Files
discord-clone/node_modules/vscode-languageclient/lib/common/protocolDiagnostic.d.ts
2023-01-03 09:29:04 -06:00

18 lines
613 B
TypeScript

import * as vscode from 'vscode';
/**
* We keep this for a while to not break servers which adopted
* proposed API.
*/
export interface DiagnosticCode {
value: string | number;
target: string;
}
export declare namespace DiagnosticCode {
function is(value: string | number | DiagnosticCode | undefined | null): value is DiagnosticCode;
}
export declare class ProtocolDiagnostic extends vscode.Diagnostic {
readonly data: unknown | undefined;
hasDiagnosticCode: boolean;
constructor(range: vscode.Range, message: string, severity: vscode.DiagnosticSeverity, data: unknown | undefined);
}