mirror of
https://github.com/microsoft/TypeScript.git
synced 2025-11-18 17:21:48 +00:00
Cleans up and adds nested case to test
This commit is contained in:
@@ -22,20 +22,34 @@
|
||||
////
|
||||
////// same behavior for nested arrays
|
||||
//// const w =[| [
|
||||
//// [|[ a: 0 ]|],
|
||||
//// [|[ b: 1 ]|],
|
||||
//// [|[ c: 2 ]|]
|
||||
//// [|[ 0 ]|],
|
||||
//// [|[ 1 ]|],
|
||||
//// [|[ 2 ]|]
|
||||
//// ]|];
|
||||
////
|
||||
//// const z =[| [
|
||||
//// [|[
|
||||
//// a: 0
|
||||
//// 0
|
||||
//// ]|],
|
||||
//// [|[
|
||||
//// b: 1
|
||||
//// 1
|
||||
//// ]|],
|
||||
//// [|[
|
||||
//// c: 2
|
||||
//// 2
|
||||
//// ]|]
|
||||
//// ]|];
|
||||
////
|
||||
////// multiple levels of nesting work as expected
|
||||
//// const z =[| [
|
||||
//// [|[
|
||||
//// [|{ hello: 0 }|]
|
||||
//// ]|],
|
||||
//// [|[
|
||||
//// [|{ hello: 3 }|]
|
||||
//// ]|],
|
||||
//// [|[
|
||||
//// [|{ hello: 5 }|],
|
||||
//// [|{ hello: 7 }|]
|
||||
//// ]|]
|
||||
//// ]|];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user