@@ -376,7 +376,7 @@ namespace ts.server {
376
376
* openFilesImpactedByConfigFiles is a map of open files that would be impacted by this config file
377
377
* because these are the paths being looked up for their default configured project location
378
378
* 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
380
380
* this config file but it is not the root of inferred project
381
381
*/
382
382
openFilesImpactedByConfigFile : Map < boolean > ;
@@ -575,7 +575,7 @@ namespace ts.server {
575
575
*/
576
576
private readonly projectToSizeMap : Map < number > = createMap < number > ( ) ;
577
577
/**
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
579
579
* - The entry can be present because there is inferred project that needs to watch addition of config file to directory
580
580
* In this case the exists could be true/false based on config file is present or not
581
581
* - Or it is present if we have configured project open with config file at that location
@@ -1426,7 +1426,7 @@ namespace ts.server {
1426
1426
private setConfigFileExistenceByNewConfiguredProject ( project : ConfiguredProject ) {
1427
1427
const configFileExistenceInfo = this . getConfigFileExistenceInfo ( project ) ;
1428
1428
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
1430
1430
configFileExistenceInfo . exists = true ;
1431
1431
// close existing watcher
1432
1432
if ( configFileExistenceInfo . configFileWatcherForRootOfInferredProject ) {
@@ -2718,7 +2718,7 @@ namespace ts.server {
2718
2718
// since info is added as root to the inferred project only when there are no other projects containing it
2719
2719
// So when it is root of the inferred project and after project structure updates its now part
2720
2720
// 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
2722
2722
// - root / reference in non - inferred project beats root in inferred project
2723
2723
2724
2724
// eg. say this is structure /a/b/a.ts /a/b/c.ts where c.ts references a.ts
0 commit comments