TypeScript/tests/baselines/reference/genericConstraintSatisfaction1.errors.txt
2014-07-12 17:30:19 -07:00

10 lines
285 B
Plaintext

==== tests/cases/compiler/genericConstraintSatisfaction1.ts (1 errors) ====
interface I<S> {
f: <T extends S>(x: T) => void
}
var x: I<{s: string}>
x.f({s: 1})
~~~~~~~~~~~
!!! Supplied parameters do not match any signature of call target.