From 040401205ba51d036b9ec234ff2f2341ceac96b9 Mon Sep 17 00:00:00 2001 From: Anders Hejlsberg Date: Fri, 8 Feb 2019 06:53:39 -0800 Subject: [PATCH] Delete wayward comment --- src/compiler/checker.ts | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/compiler/checker.ts b/src/compiler/checker.ts index bdb645a0003..b550710861c 100644 --- a/src/compiler/checker.ts +++ b/src/compiler/checker.ts @@ -14570,8 +14570,6 @@ namespace ts { return undefined; } - // target: { [P in 'a' | 'b' | keyof T | keyof U]: XXX } - // source: { a: xxx, b: xxx, c: xxx, d: xxx } function inferToMappedType(source: Type, target: MappedType, constraintType: Type): boolean { if (constraintType.flags & TypeFlags.Union) { let result = false;