TypeScript/tests/baselines/reference/commentInMethodCall.types
2015-04-15 16:44:20 -07:00

15 lines
456 B
Plaintext

=== 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