@@ -376,7 +376,7 @@ namespace ts.server {
376376 * openFilesImpactedByConfigFiles is a map of open files that would be impacted by this config file
377377 * because these are the paths being looked up for their default configured project location
378378 * The value in the map is true if the open file is root of the inferred project
379- * It is false when the open file that would still be impacted by existance of
379+ * It is false when the open file that would still be impacted by existence of
380380 * this config file but it is not the root of inferred project
381381 */
382382 openFilesImpactedByConfigFile : Map < boolean > ;
@@ -575,7 +575,7 @@ namespace ts.server {
575575 */
576576 private readonly projectToSizeMap : Map < number > = createMap < number > ( ) ;
577577 /**
578- * This is a map of config file paths existance that doesnt need query to disk
578+ * This is a map of config file paths existence that doesnt need query to disk
579579 * - The entry can be present because there is inferred project that needs to watch addition of config file to directory
580580 * In this case the exists could be true/false based on config file is present or not
581581 * - Or it is present if we have configured project open with config file at that location
@@ -1426,7 +1426,7 @@ namespace ts.server {
14261426 private setConfigFileExistenceByNewConfiguredProject ( project : ConfiguredProject ) {
14271427 const configFileExistenceInfo = this . getConfigFileExistenceInfo ( project ) ;
14281428 if ( configFileExistenceInfo ) {
1429- // The existance might not be set if the file watcher is not invoked by the time config project is created by external project
1429+ // The existence might not be set if the file watcher is not invoked by the time config project is created by external project
14301430 configFileExistenceInfo . exists = true ;
14311431 // close existing watcher
14321432 if ( configFileExistenceInfo . configFileWatcherForRootOfInferredProject ) {
@@ -2718,7 +2718,7 @@ namespace ts.server {
27182718 // since info is added as root to the inferred project only when there are no other projects containing it
27192719 // So when it is root of the inferred project and after project structure updates its now part
27202720 // of multiple project it needs to be removed from that inferred project because:
2721- // - references in inferred project supercede the root part
2721+ // - references in inferred project supersede the root part
27222722 // - root / reference in non - inferred project beats root in inferred project
27232723
27242724 // eg. say this is structure /a/b/a.ts /a/b/c.ts where c.ts references a.ts
0 commit comments