2014-08-15 23:33:16 +02:00
|
|
|
=== tests/cases/compiler/commentOnSimpleArrowFunctionBody1.ts ===
|
|
|
|
function Foo(x: any)
|
2014-08-28 21:52:44 +02:00
|
|
|
>Foo : (x: any) => void
|
2014-08-15 23:33:16 +02:00
|
|
|
>x : any
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
|
|
|
Foo(() =>
|
2014-08-22 03:39:46 +02:00
|
|
|
>Foo(() => // do something 127) : void
|
2014-08-28 21:52:44 +02:00
|
|
|
>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);
|
|
|
|
|