mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-07-04 14:56:16 -05:00
Added tests.
This commit is contained in:
@@ -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