UNPKG

typescript-language-server

Version:

Language Server Protocol (LSP) implementation for TypeScript using tsserver

9 lines 397 B
import { LspDocument } from './document.js'; /** * Transforms the semantic token spans given by the ts-server into lsp compatible spans. * @param doc the document we are operating on * @param spans the spans given by ts-server * @returns lsp compatible spans */ export declare function transformSpans(doc: LspDocument, spans: number[]): number[]; //# sourceMappingURL=semantic-tokens.d.ts.map