From 2834737bc14a676bf0468056bea82d709a2ee6d1 Mon Sep 17 00:00:00 2001 From: pushkine Date: Tue, 2 Mar 2021 15:35:11 +0100 Subject: [PATCH] typo (#42899) * Update editorServices.ts * Fix baselines Co-authored-by: Orta --- src/server/editorServices.ts | 2 +- tests/baselines/reference/api/tsserverlibrary.d.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/server/editorServices.ts b/src/server/editorServices.ts index 5e9a6636d0e..2689d4e7cad 100644 --- a/src/server/editorServices.ts +++ b/src/server/editorServices.ts @@ -2929,7 +2929,7 @@ namespace ts.server { * This function goes through all the openFiles and tries to file the config file for them. * If the config file is found and it refers to existing project, it reloads it either immediately * or schedules it for reload depending on delayReload option - * If the there is no existing project it just opens the configured project for the config file + * If there is no existing project it just opens the configured project for the config file * reloadForInfo provides a way to filter out files to reload configured project for */ private reloadConfiguredProjectForFiles(openFiles: ESMap, clearSemanticCache: boolean, delayReload: boolean, shouldReloadProjectFor: (openFileValue: T) => boolean, reason: string) { diff --git a/tests/baselines/reference/api/tsserverlibrary.d.ts b/tests/baselines/reference/api/tsserverlibrary.d.ts index 48420cb2e3d..71c0361b077 100644 --- a/tests/baselines/reference/api/tsserverlibrary.d.ts +++ b/tests/baselines/reference/api/tsserverlibrary.d.ts @@ -9966,7 +9966,7 @@ declare namespace ts.server { * This function goes through all the openFiles and tries to file the config file for them. * If the config file is found and it refers to existing project, it reloads it either immediately * or schedules it for reload depending on delayReload option - * If the there is no existing project it just opens the configured project for the config file + * If there is no existing project it just opens the configured project for the config file * reloadForInfo provides a way to filter out files to reload configured project for */ private reloadConfiguredProjectForFiles;