14 lines
456 B
Text
14 lines
456 B
Text
=== tests/cases/compiler/commentInMethodCall.ts ===
|
|
//commment here
|
|
var s: string[];
|
|
>s : string[]
|
|
|
|
s.map(// do something
|
|
>s.map(// do something function () { }) : void[]
|
|
>s.map : <U>(callbackfn: (value: string, index: number, array: string[]) => U, thisArg?: any) => U[]
|
|
>s : string[]
|
|
>map : <U>(callbackfn: (value: string, index: number, array: string[]) => U, thisArg?: any) => U[]
|
|
|
|
function () { });
|
|
>function () { } : () => void
|
|
|