diff --git a/src/server/session.ts b/src/server/session.ts index 97c221a8add..4cdddc831a1 100644 --- a/src/server/session.ts +++ b/src/server/session.ts @@ -186,7 +186,6 @@ namespace ts.server { /* @internal */ export const BreakpointStatement: protocol.CommandTypes.BreakpointStatement = "breakpointStatement"; export const CompilerOptionsForInferredProjects: protocol.CommandTypes.CompilerOptionsForInferredProjects = "compilerOptionsForInferredProjects"; - export const LoadTypesMap: protocol.CommandTypes.LoadTypesMap = "loadTypesMap"; export const GetCodeFixes: protocol.CommandTypes.GetCodeFixes = "getCodeFixes"; /* @internal */ export const GetCodeFixesFull: protocol.CommandTypes.GetCodeFixesFull = "getCodeFixes-full"; @@ -1766,11 +1765,6 @@ namespace ts.server { this.setCompilerOptionsForInferredProjects(request.arguments); return this.requiredResponse(true); }, - [CommandNames.LoadTypesMap]: (request: protocol.FileRequest) => { - const loadArgs = request.arguments; - this.projectService.loadSafeList(loadArgs.file); - return this.notRequired(); - }, [CommandNames.ProjectInfo]: (request: protocol.ProjectInfoRequest) => { return this.requiredResponse(this.getProjectInfo(request.arguments)); },