Added tests.
This commit is contained in:
parent
8917ddf8a1
commit
5a90c6777a
2 changed files with 8 additions and 0 deletions
|
@ -0,0 +1,4 @@
|
|||
// @declaration: true
|
||||
|
||||
let x = <[]>[];
|
||||
let y = x[0];
|
|
@ -0,0 +1,4 @@
|
|||
// @declaration: true
|
||||
|
||||
let x = [] as [];
|
||||
let y = x[0];
|
Loading…
Reference in a new issue