UNPKG

482 BTypeScriptView Raw
1import { DiagnosticSeverity } from 'vscode-languageserver-protocol';
2export declare enum Severity {
3 Ignore = 0,
4 Error = 1,
5 Warning = 2,
6 Info = 3,
7 Log = 4
8}
9export declare namespace Severity {
10 function fromValue(value: string | undefined): Severity;
11 function toDiagnosticSeverity(value: Severity): DiagnosticSeverity;
12 function toString(severity: Severity | undefined): string;
13 function toArray(): string[];
14}
15//# sourceMappingURL=severity.d.ts.map
\No newline at end of file