2014-08-15 23:33:16 +02:00
|
|
|
=== tests/cases/compiler/commentInMethodCall.ts ===
|
|
|
|
//commment here
|
|
|
|
var s: string[];
|
2015-04-13 22:54:22 +02:00
|
|
|
>s : string[], Symbol(s,Decl(commentInMethodCall.ts,1,3))
|
2014-08-15 23:33:16 +02:00
|
|
|
|
|
|
|
s.map(// do something
|
2014-08-22 03:39:46 +02:00
|
|
|
>s.map(// do something function () { }) : void[]
|
2015-04-13 22:54:22 +02:00
|
|
|
>s.map : <U>(callbackfn: (value: string, index: number, array: string[]) => U, thisArg?: any) => U[], Symbol(Array.map,Decl(lib.d.ts,1115,92))
|
|
|
|
>s : string[], Symbol(s,Decl(commentInMethodCall.ts,1,3))
|
|
|
|
>map : <U>(callbackfn: (value: string, index: number, array: string[]) => U, thisArg?: any) => U[], Symbol(Array.map,Decl(lib.d.ts,1115,92))
|
2014-08-15 23:33:16 +02:00
|
|
|
|
|
|
|
function () { });
|
|
|
|
>function () { } : () => void
|
|
|
|
|