diff --git a/src/server/editorServices.ts b/src/server/editorServices.ts index d023a9827ee..80fbc573ff2 100644 --- a/src/server/editorServices.ts +++ b/src/server/editorServices.ts @@ -555,7 +555,6 @@ namespace ts.server { } handleProjectFilelistChanges(project: Project) { - // TODO: Ignoring potentially returned 'error' and 'succeeded' condition const { projectOptions } = this.configFileToProjectOptions(project.projectFilename); const newRootFiles = projectOptions.files.map((f => this.getCanonicalFileName(f))); @@ -585,7 +584,6 @@ namespace ts.server { this.log("Detected newly added tsconfig file: " + fileName); - // TODO: Ignoring potentially returned 'error' and 'succeeded' condition const { projectOptions } = this.configFileToProjectOptions(fileName); const rootFilesInTsconfig = projectOptions.files.map(f => this.getCanonicalFileName(f)); diff --git a/tests/cases/unittests/session.ts b/tests/cases/unittests/session.ts index 1251fb7215f..41f4bc599f6 100644 --- a/tests/cases/unittests/session.ts +++ b/tests/cases/unittests/session.ts @@ -1,6 +1,6 @@ /// -var expect: typeof _chai.expect = _chai.expect; +const expect: typeof _chai.expect = _chai.expect; namespace ts.server { let lastWrittenToHost: string;