mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-05-15 12:51:30 -05: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