Delete wayward comment

This commit is contained in:
Anders Hejlsberg 2019-02-08 06:53:39 -08:00
parent 8652158ead
commit 040401205b

View File

@ -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;