mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-02-05 16:38:05 -06:00
Accept baseline
This commit is contained in:
parent
753f0f8d1c
commit
ab51ccc7f3
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user