TypeScript/tests/baselines/reference/commentInMethodCall.types

15 lines
456 B
Plaintext
Raw Normal View History

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