Skip to content

Commit 74792bb

Browse files
committed
Remove tsserver command for loading different map
1 parent 2fdc5ab commit 74792bb

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

src/server/session.ts

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,6 @@ namespace ts.server {
186186
/* @internal */
187187
export const BreakpointStatement: protocol.CommandTypes.BreakpointStatement = "breakpointStatement";
188188
export const CompilerOptionsForInferredProjects: protocol.CommandTypes.CompilerOptionsForInferredProjects = "compilerOptionsForInferredProjects";
189-
export const LoadTypesMap: protocol.CommandTypes.LoadTypesMap = "loadTypesMap";
190189
export const GetCodeFixes: protocol.CommandTypes.GetCodeFixes = "getCodeFixes";
191190
/* @internal */
192191
export const GetCodeFixesFull: protocol.CommandTypes.GetCodeFixesFull = "getCodeFixes-full";
@@ -1766,11 +1765,6 @@ namespace ts.server {
17661765
this.setCompilerOptionsForInferredProjects(request.arguments);
17671766
return this.requiredResponse(true);
17681767
},
1769-
[CommandNames.LoadTypesMap]: (request: protocol.FileRequest) => {
1770-
const loadArgs = <protocol.FileRequestArgs>request.arguments;
1771-
this.projectService.loadSafeList(loadArgs.file);
1772-
return this.notRequired();
1773-
},
17741768
[CommandNames.ProjectInfo]: (request: protocol.ProjectInfoRequest) => {
17751769
return this.requiredResponse(this.getProjectInfo(request.arguments));
17761770
},

0 commit comments

Comments
 (0)