From aaa064b3b89f41cb9e9c086cb69977e6cb0255f8 Mon Sep 17 00:00:00 2001 From: Anders Hejlsberg Date: Wed, 4 Sep 2019 18:26:59 -0700 Subject: [PATCH] Fix lint error --- src/compiler/checker.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/compiler/checker.ts b/src/compiler/checker.ts index ac43b4caea6..76786ee8674 100644 --- a/src/compiler/checker.ts +++ b/src/compiler/checker.ts @@ -15584,7 +15584,7 @@ namespace ts { // However, simply making no inferences is undesirable because it could ultimately mean // inferring a type parameter constraint. Instead, make a lower priority inference from // the full source to whatever remains in the target. For example, when inferring from - // string to 'string | T', make a lower priority inference of string for T. + // string to 'string | T', make a lower priority inference of string for T. const savePriority = priority; priority |= InferencePriority.NakedTypeVariable; inferFromTypes(source, target);