Accept baseline

This commit is contained in:
Jason Freeman 2015-07-22 13:58:36 -07:00
parent 753f0f8d1c
commit ab51ccc7f3

View File

@ -13,7 +13,7 @@ function foo<T extends { m(p: string): number }>(x: T): T {
}
foo({ m(x) { return x.length } });
>foo({ m(x) { return x.length } }) : { }
>foo({ m(x) { return x.length } }) : { m(x: string): number; }
>foo : <T extends { m(p: string): number; }>(x: T) => T
>{ m(x) { return x.length } } : { m(x: string): number; }
>m : (x: string) => number