From fa407cef856d18d807cb2af5f50ba741a7554f9f Mon Sep 17 00:00:00 2001 From: Anders Hejlsberg Date: Tue, 9 Apr 2019 07:51:12 -1000 Subject: [PATCH] Remove old comment --- src/compiler/checker.ts | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/compiler/checker.ts b/src/compiler/checker.ts index 955dacfbb89..8e8f038c2d5 100644 --- a/src/compiler/checker.ts +++ b/src/compiler/checker.ts @@ -7234,8 +7234,6 @@ namespace ts { // Return the lower bound of the key type in a mapped type. Intuitively, the lower // bound includes those keys that are known to always be present, for example because // because of constraints on type parameters (e.g. 'keyof T' for a constrained T). - // The isIndexType flag indicates that the type is the index type of an indexed - // access that is the target of an assignment. function getLowerBoundOfKeyType(type: Type): Type { if (type.flags & (TypeFlags.Any | TypeFlags.Primitive)) { return type;