Remove tsserver command for loading different map

This commit is contained in:
Ryan Cavanaugh 2017-04-07 16:58:32 -07:00
parent 2b09e54baa
commit a874567d46

View File

@ -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 = <protocol.FileRequestArgs>request.arguments;
this.projectService.loadSafeList(loadArgs.file);
return this.notRequired();
},
[CommandNames.ProjectInfo]: (request: protocol.ProjectInfoRequest) => {
return this.requiredResponse(this.getProjectInfo(request.arguments));
},