TypeScript/tests/baselines/reference/commentInMethodCall.types
2015-04-13 14:29:37 -07:00

15 lines
640 B
Plaintext

=== tests/cases/compiler/commentInMethodCall.ts ===
//commment here
var s: string[];
>s : string[], Symbol(s, Decl(commentInMethodCall.ts, 1, 3))
s.map(// do something
>s.map(// do something function () { }) : void[]
>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))
function () { });
>function () { } : () => void