Added test.
This commit is contained in:
parent
f7f0c51241
commit
94ad71ecc3
1 changed files with 13 additions and 0 deletions
|
@ -0,0 +1,13 @@
|
|||
type Style = StyleBase | StyleArray;
|
||||
interface StyleArray extends Array<Style> {}
|
||||
interface StyleBase {
|
||||
foo: string;
|
||||
}
|
||||
|
||||
const blah: Style = [
|
||||
[[{
|
||||
foo: 'asdf',
|
||||
jj: 1 // intentional error
|
||||
}]]
|
||||
];
|
||||
|
Loading…
Reference in a new issue