UNPKG

typescript-language-server

Version:

Language Server Protocol (LSP) implementation for TypeScript using tsserver

11 lines 660 B
import * as lsp from 'vscode-languageserver'; import API from '../utils/api.js'; import type { LspDocuments } from '../document.js'; import type { TspClient } from '../tsp-client.js'; import type { LspClient } from '../lsp-client.js'; export declare class SourceDefinitionCommand { static readonly id = "_typescript.goToSourceDefinition"; static readonly minVersion: API; static execute(uri: lsp.DocumentUri | undefined, position: lsp.Position | undefined, documents: LspDocuments, tspClient: TspClient, lspClient: LspClient, reporter: lsp.WorkDoneProgressReporter): Promise<lsp.Location[] | void>; } //# sourceMappingURL=source-definition.d.ts.map