Fix whitespace lint

This commit is contained in:
Nathan Shively-Sanders 2017-11-30 09:41:55 -08:00
parent 1068ee105d
commit c7d53f8b70

View file

@ -11395,7 +11395,7 @@ namespace ts {
// such that direct inferences to T get priority over inferences to Partial<T>, for example.
const inference = getInferenceInfoForType((<IndexType>constraintType).type);
if (inference && !inference.isFixed) {
if (contains(mappedTypeStack, [source, target.symbol], ([s1,t1],[s2,t2]) => s1 === s2 && t1 === t2)) {
if (contains(mappedTypeStack, [source, target.symbol], ([s1, t1], [s2, t2]) => s1 === s2 && t1 === t2)) {
return;
}
(mappedTypeStack || (mappedTypeStack = [])).push([source, target.symbol]);