UNPKG

sussudio

Version:

An unofficial VS Code Internal API

20 lines (19 loc) 709 B
/*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for license information. *--------------------------------------------------------------------------------------------*/ declare enum Severity { Ignore = 0, Info = 1, Warning = 2, Error = 3 } declare namespace Severity { /** * Parses 'error', 'warning', 'warn', 'info' in call casings * and falls back to ignore. */ function fromValue(value: string): Severity; function toString(severity: Severity): string; } export default Severity;