function f(value: T) { return value; }; function h(func: (x: number) => R): R { return null; } var z: number = h(f); var z: number = h(f);