2014-08-15 23:33:16 +02:00
|
|
|
=== tests/cases/compiler/commentInMethodCall.ts ===
|
|
|
|
//commment here
|
|
|
|
var s: string[];
|
|
|
|
>s : string[]
|
|
|
|
|
|
|
|
s.map(// do something
|
2014-08-22 03:39:46 +02:00
|
|
|
>s.map(// do something function () { }) : void[]
|
2014-08-15 23:33:16 +02:00
|
|
|
>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
|
|
|
|
|