TypeScript/tests/baselines/reference/unionTypeWithRecursiveSubtypeReduction3.js
2015-05-13 15:27:40 -07:00

13 lines
234 B
TypeScript

//// [unionTypeWithRecursiveSubtypeReduction3.ts]
var a27: { prop: number } | { prop: T27 };
type T27 = typeof a27;
var b: T27;
var s: string = b;
//// [unionTypeWithRecursiveSubtypeReduction3.js]
var a27;
var b;
var s = b;