UNPKG

@sussudio/base

Version:

Internal APIs for VS Code's utilities and user interface building blocks.

21 lines (19 loc) 681 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;