Add regression test
This commit is contained in:
parent
919e682e3f
commit
f7d8e3befc
1 changed files with 4 additions and 0 deletions
|
@ -501,3 +501,7 @@ function updateIds2<T extends { [x: string]: string }, K extends keyof T>(
|
|||
var x = obj[key];
|
||||
stringMap[x]; // Should be OK.
|
||||
}
|
||||
|
||||
// Repro from #13514
|
||||
|
||||
declare function head<T extends Array<any>>(list: T): T[0];
|
||||
|
|
Loading…
Reference in a new issue