mirror of
https://github.com/microsoft/TypeScript.git
synced 2025-12-13 04:57:55 -06:00
Remove tsserver command for loading different map
This commit is contained in:
parent
2b09e54baa
commit
a874567d46
@ -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));
|
||||
},
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user