Fix typo in comment

This commit is contained in:
Ron Buckton
2018-05-04 15:50:14 -07:00
parent f4ca7ee767
commit 8d230fc428

View File

@@ -965,7 +965,7 @@ namespace ts {
// The `newSourceFile` object was created for the new program.
if (!arrayIsEqualTo(oldSourceFile.libReferenceDirectives, newSourceFile.libReferenceDirectives, fileReferenceIsEqualTo)) {
// 'lib' references has changed. Matches behavior in chagnesAffectModuleResolution
// 'lib' references has changed. Matches behavior in changesAffectModuleResolution
return oldProgram.structureIsReused = StructureIsReused.Not;
}