TypeScript/tests/cases/compiler/typeInferenceConflictingCandidates.ts

3 lines
74 B
TypeScript
Raw Normal View History

2014-07-13 01:04:16 +02:00
declare function g<T>(a: T, b: T, c: (t: T) => T): T;
g("", 3, a => a);