Added test.

This commit is contained in:
Daniel Rosenwasser 2018-07-17 21:52:24 -07:00
parent 204ce175dd
commit bda32aeee2

View file

@ -0,0 +1,11 @@
interface Foo {
bar: Bar | Bar[];
}
interface Bar {
prop: string;
}
let x: Foo[] = [
{ bar: { prop: 100 } }
]