TypeScript/tests/baselines/reference/commentOnSimpleArrowFunctionBody1.types

17 lines
315 B
Plaintext
Raw Normal View History

2014-08-15 23:33:16 +02:00
=== tests/cases/compiler/commentOnSimpleArrowFunctionBody1.ts ===
function Foo(x: any)
>Foo : (x: any) => void
>x : any
2014-08-15 23:33:16 +02:00
{
}
Foo(() =>
2014-08-22 03:39:46 +02:00
>Foo(() => // do something 127) : void
>Foo : (x: any) => void
2014-08-22 03:39:46 +02:00
>() => // do something 127 : () => number
2014-08-15 23:33:16 +02:00
// do something
127);
2015-04-13 21:36:11 +02:00
>127 : number
2014-08-15 23:33:16 +02:00