mirror of
https://github.com/microsoft/TypeScript.git
synced 2025-11-18 17:21:48 +00:00
Added tests.
This commit is contained in:
1 parent
8917ddf8a1
commit
5a90c6777a
2 files changed
+8
No files matched your search
@@ -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];
|
||||
Reference in new issue
Block a user