19 lines
377 B
Plaintext
19 lines
377 B
Plaintext
=== tests/cases/compiler/commentOnArrayElement3.ts ===
|
|
const array = [
|
|
>array : number[]
|
|
>[ /* element 1*/ 1 /* end of element 1 */, 2 /* end of element 2 */, , /* extra comment */] : number[]
|
|
|
|
/* element 1*/
|
|
1
|
|
>1 : 1
|
|
|
|
/* end of element 1 */,
|
|
2
|
|
>2 : 2
|
|
|
|
/* end of element 2 */, ,
|
|
> : undefined
|
|
|
|
/* extra comment */
|
|
];
|