TypeScript/tests/cases/compiler/unionTypeWithRecursiveSubtypeReduction3.ts
2015-05-13 15:27:40 -07:00

6 lines
103 B
TypeScript

var a27: { prop: number } | { prop: T27 };
type T27 = typeof a27;
var b: T27;
var s: string = b;