fix spelling errors (#36523)

* fix spelling errors

* remove changes in lib/*
This commit is contained in:
Hye Sung Jung
2020-01-30 13:39:54 -08:00
committed by GitHub
parent bfff11530f
commit 8ed129771f
72 changed files with 219 additions and 219 deletions
+4 -4
View File
@@ -376,7 +376,7 @@ namespace ts.server {
* openFilesImpactedByConfigFiles is a map of open files that would be impacted by this config file
* because these are the paths being looked up for their default configured project location
* The value in the map is true if the open file is root of the inferred project
* It is false when the open file that would still be impacted by existance of
* It is false when the open file that would still be impacted by existence of
* this config file but it is not the root of inferred project
*/
openFilesImpactedByConfigFile: Map<boolean>;
@@ -575,7 +575,7 @@ namespace ts.server {
*/
private readonly projectToSizeMap: Map<number> = createMap<number>();
/**
* This is a map of config file paths existance that doesnt need query to disk
* This is a map of config file paths existence that doesnt need query to disk
* - The entry can be present because there is inferred project that needs to watch addition of config file to directory
* In this case the exists could be true/false based on config file is present or not
* - Or it is present if we have configured project open with config file at that location
@@ -1426,7 +1426,7 @@ namespace ts.server {
private setConfigFileExistenceByNewConfiguredProject(project: ConfiguredProject) {
const configFileExistenceInfo = this.getConfigFileExistenceInfo(project);
if (configFileExistenceInfo) {
// The existance might not be set if the file watcher is not invoked by the time config project is created by external project
// The existence might not be set if the file watcher is not invoked by the time config project is created by external project
configFileExistenceInfo.exists = true;
// close existing watcher
if (configFileExistenceInfo.configFileWatcherForRootOfInferredProject) {
@@ -2718,7 +2718,7 @@ namespace ts.server {
// since info is added as root to the inferred project only when there are no other projects containing it
// So when it is root of the inferred project and after project structure updates its now part
// of multiple project it needs to be removed from that inferred project because:
// - references in inferred project supercede the root part
// - references in inferred project supersede the root part
// - root / reference in non - inferred project beats root in inferred project
// eg. say this is structure /a/b/a.ts /a/b/c.ts where c.ts references a.ts
+1 -1
View File
@@ -1744,7 +1744,7 @@ namespace ts.server {
/**
* If a file is opened, the server will look for a tsconfig (or jsconfig)
* and if successfull create a ConfiguredProject for it.
* and if successful create a ConfiguredProject for it.
* Otherwise it will create an InferredProject.
*/
export class ConfiguredProject extends Project {