UNPKG

typescript-language-server

Version:

Language Server Protocol (LSP) implementation for TypeScript using tsserver

16 lines 1.02 kB
/*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for license information. *--------------------------------------------------------------------------------------------*/ export const variableDeclaredButNeverUsed = new Set([6196, 6133]); export const propertyDeclaretedButNeverUsed = new Set([6138]); export const allImportsAreUnused = new Set([6192]); export const unreachableCode = new Set([7027]); export const unusedLabel = new Set([7028]); export const fallThroughCaseInSwitch = new Set([7029]); export const notAllCodePathsReturnAValue = new Set([7030]); export const incorrectlyImplementsInterface = new Set([2420]); export const cannotFindName = new Set([2552, 2304]); export const extendsShouldBeImplements = new Set([2689]); export const asyncOnlyAllowedInAsyncFunctions = new Set([1308]); //# sourceMappingURL=errorCodes.js.map