=== tests/cases/compiler/tooFewArgumentsInGenericFunctionTypedArgument.ts === interface Collection { >Collection : Collection >T : T >U : U length: number; >length : number add(x: T, y: U): void; >add : (x: T, y: U) => void >x : T >T : T >y : U >U : U remove(x: T, y: U): boolean; >remove : (x: T, y: U) => boolean >x : T >T : T >y : U >U : U } interface Combinators { >Combinators : Combinators map(c: Collection, f: (x: T, y: U) => V): Collection; >map : { (c: Collection, f: (x: T, y: U) => V): Collection; (c: Collection, f: (x: T, y: U) => any): Collection; } >T : T >U : U >V : V >c : Collection >Collection : Collection >T : T >U : U >f : (x: T, y: U) => V >x : T >T : T >y : U >U : U >V : V >Collection : Collection >T : T >V : V map(c: Collection, f: (x: T, y: U) => any): Collection; >map : { (c: Collection, f: (x: T, y: U) => V): Collection; (c: Collection, f: (x: T, y: U) => any): Collection; } >T : T >U : U >c : Collection >Collection : Collection >T : T >U : U >f : (x: T, y: U) => any >x : T >T : T >y : U >U : U >Collection : Collection } var c2: Collection; >c2 : Collection >Collection : Collection var _: Combinators; >_ : Combinators >Combinators : Combinators var r1a = _.map(c2, (x) => { return x.toFixed() }); >r1a : Collection >_.map(c2, (x) => { return x.toFixed() }) : Collection >_.map : { (c: Collection, f: (x: T, y: U) => V): Collection; (c: Collection, f: (x: T, y: U) => any): Collection; } >_ : Combinators >map : { (c: Collection, f: (x: T, y: U) => V): Collection; (c: Collection, f: (x: T, y: U) => any): Collection; } >c2 : Collection >(x) => { return x.toFixed() } : (x: number) => string >x : number >x.toFixed() : string >x.toFixed : (fractionDigits?: number) => string >x : number >toFixed : (fractionDigits?: number) => string var rf1 = (x: number) => { return x.toFixed() }; >rf1 : (x: number) => string >(x: number) => { return x.toFixed() } : (x: number) => string >x : number >x.toFixed() : string >x.toFixed : (fractionDigits?: number) => string >x : number >toFixed : (fractionDigits?: number) => string var r1b = _.map(c2, rf1); >r1b : Collection >_.map(c2, rf1) : Collection >_.map : { (c: Collection, f: (x: T, y: U) => V): Collection; (c: Collection, f: (x: T, y: U) => any): Collection; } >_ : Combinators >map : { (c: Collection, f: (x: T, y: U) => V): Collection; (c: Collection, f: (x: T, y: U) => any): Collection; } >c2 : Collection >rf1 : (x: number) => string