TypeScript/tests/cases/conformance/types/typeRelationships/subtypesAndSuperTypes/subtypingWithCallSignaturesA.ts
2014-07-12 17:30:19 -07:00

2 lines
No EOL
104 B
TypeScript

declare function foo3(cb: (x: number) => number): typeof cb;
var r5 = foo3((x: number) => ''); // error