UNPKG

typescript-language-server

Version:

Language Server Protocol (LSP) implementation for TypeScript using tsserver

7 lines 660 B
import * as lsp from 'vscode-languageserver'; import type tsp from 'typescript/lib/protocol.d.js'; import type { SupportedFeatures } from './ts-protocol.js'; export declare function provideRefactors(response: tsp.GetApplicableRefactorsResponse | undefined, args: tsp.FileRangeRequestArgs, features: SupportedFeatures): lsp.CodeAction[]; export declare function asSelectRefactoring(info: tsp.ApplicableRefactorInfo, args: tsp.FileRangeRequestArgs): lsp.CodeAction; export declare function asApplyRefactoring(action: tsp.RefactorActionInfo, info: tsp.ApplicableRefactorInfo, args: tsp.FileRangeRequestArgs): lsp.CodeAction; //# sourceMappingURL=refactor.d.ts.map