mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-02-05 08:11:30 -06:00
Add test
This commit is contained in:
parent
6656671536
commit
fd0d477519
@ -60,6 +60,11 @@ declare function pipe5<A, B>(f: (a: A) => B): { f: (a: A) => B };
|
||||
|
||||
const f50 = pipe5(list); // No higher order inference
|
||||
|
||||
declare function wrap3<A, B, C>(f: (a: A, b1: B, b2: B) => C): (a: A, b1: B, b2: B) => C;
|
||||
declare function baz<T, U extends T>(t1: T, t2: T, u: U): [T, U];
|
||||
|
||||
let f60 = wrap3(baz);
|
||||
|
||||
// #417
|
||||
|
||||
function mirror<A, B>(f: (a: A) => B): (a: A) => B { return f; }
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user