DEBSOURCES
Skip Quicknav
sources / node-typescript / 3.3.3333-1 / tests / cases / compiler / objectLiteralsAgainstUnionsOfArrays01.ts
1234567891011
interface Foo { bar: Bar | Bar[]; } interface Bar { prop: string; } let x: Foo[] = [ { bar: { prop: 100 } } ]