2014-08-15 23:33:16 +02:00
|
|
|
=== tests/cases/compiler/namedFunctionExpressionInModule.ts ===
|
|
|
|
module Variables{
|
2014-08-28 21:40:58 +02:00
|
|
|
>Variables : typeof Variables
|
2014-08-15 23:33:16 +02:00
|
|
|
|
|
|
|
var x = function bar(a, b, c) {
|
|
|
|
>x : (a: any, b: any, c: any) => void
|
2014-08-22 03:39:46 +02:00
|
|
|
>function bar(a, b, c) { } : (a: any, b: any, c: any) => void
|
2014-08-15 23:33:16 +02:00
|
|
|
>bar : (a: any, b: any, c: any) => void
|
|
|
|
>a : any
|
|
|
|
>b : any
|
|
|
|
>c : any
|
|
|
|
}
|
|
|
|
x(1, 2, 3);
|
|
|
|
>x(1, 2, 3) : void
|
|
|
|
>x : (a: any, b: any, c: any) => void
|
|
|
|
}
|
|
|
|
|