fix spelling errors (#36523)

* fix spelling errors

* remove changes in lib/*
This commit is contained in:
Hye Sung Jung
2020-01-30 15:39:54 -06:00
committed by GitHub
parent bfff11530f
commit 8ed129771f
72 changed files with 219 additions and 219 deletions

View File

@@ -5750,7 +5750,7 @@ namespace ts {
// function g() {}
// module.exports.g = g
// ```
// In such a situation, we have a local variable named `g`, and a seperate exported variable named `g`.
// In such a situation, we have a local variable named `g`, and a separate exported variable named `g`.
// Naively, we would emit
// ```
// function g() {}
@@ -32285,7 +32285,7 @@ namespace ts {
const sourceConstraint = constraint && getTypeFromTypeNode(constraint);
const targetConstraint = getConstraintOfTypeParameter(target);
// relax check if later interface augmentation has no constraint, it's more broad and is OK to merge with
// a more constrained interface (this could be generalized to a full heirarchy check, but that's maybe overkill)
// a more constrained interface (this could be generalized to a full hierarchy check, but that's maybe overkill)
if (sourceConstraint && targetConstraint && !isTypeIdenticalTo(sourceConstraint, targetConstraint)) {
return false;
}

View File

@@ -689,7 +689,7 @@ namespace ts {
let fileOrDirectoryPath: Path | undefined = toPath(fileOrDirectory);
// Since the file existance changed, update the sourceFiles cache
// Since the file existence changed, update the sourceFiles cache
if (cachedDirectoryStructureHost) {
cachedDirectoryStructureHost.addOrDeleteFileOrDirectory(fileOrDirectory, fileOrDirectoryPath);
}