15 lines
298 B
Plaintext
15 lines
298 B
Plaintext
=== tests/cases/compiler/commentOnArrayElement2.ts ===
|
|
const array = [
|
|
>array : number[]
|
|
>[ /* element 1*/ 1 /* end of element 1 */, 2 /* end of element 2 */] : number[]
|
|
|
|
/* element 1*/
|
|
1 /* end of element 1 */,
|
|
>1 : 1
|
|
|
|
2
|
|
>2 : 2
|
|
|
|
/* end of element 2 */
|
|
];
|