Skip to content

Commit bda32ae

Browse files
Added test.
1 parent 204ce17 commit bda32ae

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
interface Foo {
2+
bar: Bar | Bar[];
3+
}
4+
5+
interface Bar {
6+
prop: string;
7+
}
8+
9+
let x: Foo[] = [
10+
{ bar: { prop: 100 } }
11+
]

0 commit comments

Comments
 (0)