Skip to content

Commit 94ad71e

Browse files
Added test.
1 parent f7f0c51 commit 94ad71e

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
type Style = StyleBase | StyleArray;
2+
interface StyleArray extends Array<Style> {}
3+
interface StyleBase {
4+
foo: string;
5+
}
6+
7+
const blah: Style = [
8+
[[{
9+
foo: 'asdf',
10+
jj: 1 // intentional error
11+
}]]
12+
];
13+

0 commit comments

Comments
 (0)