mirror of
https://github.com/microsoft/TypeScript.git
synced 2025-11-18 17:21:48 +00:00
Add additional test
This commit is contained in:
@@ -22,3 +22,8 @@ combined(comb => {
|
||||
comb.b
|
||||
comb.a
|
||||
})
|
||||
|
||||
// Repro from #19091
|
||||
|
||||
declare function f<T>(a: T): { a: typeof a };
|
||||
let n: number = f(2).a;
|
||||
|
||||
Reference in New Issue
Block a user