Skip to content

Commit 172d509

Browse files
Removed unused declarations in 'session.ts'.
1 parent 7fd6aa4 commit 172d509

1 file changed

Lines changed: 1 addition & 9 deletions

File tree

src/server/session.ts

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -129,9 +129,6 @@ namespace ts.server {
129129

130130
export class Session {
131131
protected projectService: ProjectService;
132-
private pendingOperation = false;
133-
private fileHash: ts.Map<number> = {};
134-
private nextFileId = 1;
135132
private errorTimer: any; /*NodeJS.Timer | number*/
136133
private immediateId: any;
137134
private changeSeq = 0;
@@ -239,11 +236,6 @@ namespace ts.server {
239236
}
240237
}
241238

242-
private errorCheck(file: string, project: Project) {
243-
this.syntacticCheck(file, project);
244-
this.semanticCheck(file, project);
245-
}
246-
247239
private reloadProjects() {
248240
this.projectService.reloadProjects();
249241
}
@@ -901,7 +893,7 @@ namespace ts.server {
901893
}
902894

903895
getDiagnosticsForProject(delay: number, fileName: string) {
904-
const { configFileName, fileNames } = this.getProjectInfo(fileName, /*needFileNameList*/ true);
896+
const { fileNames } = this.getProjectInfo(fileName, /*needFileNameList*/ true);
905897
// No need to analyze lib.d.ts
906898
let fileNamesInProject = fileNames.filter((value, index, array) => value.indexOf("lib.d.ts") < 0);
907899

0 commit comments

Comments
 (0)