Add tests

This commit is contained in:
Anders Hejlsberg 2016-11-16 06:49:04 -08:00
parent c5ab4735ac
commit c00a04d781

View File

@ -0,0 +1,15 @@
// @declaration: true
// Recursive mapped types simply appear empty
type Recurse = {
[K in keyof Recurse]: Recurse[K]
}
type Recurse1 = {
[K in keyof Recurse2]: Recurse2[K]
}
type Recurse2 = {
[K in keyof Recurse1]: Recurse1[K]
}