2014-08-15 23:33:16 +02:00
|
|
|
=== tests/cases/compiler/namedFunctionExpressionInModule.ts ===
|
|
|
|
module Variables{
|
2015-04-13 22:54:22 +02:00
|
|
|
>Variables : typeof Variables, Symbol(Variables,Decl(namedFunctionExpressionInModule.ts,0,0))
|
2014-08-15 23:33:16 +02:00
|
|
|
|
|
|
|
var x = function bar(a, b, c) {
|
2015-04-13 22:54:22 +02:00
|
|
|
>x : (a: any, b: any, c: any) => void, Symbol(x,Decl(namedFunctionExpressionInModule.ts,1,7))
|
2014-08-22 03:39:46 +02:00
|
|
|
>function bar(a, b, c) { } : (a: any, b: any, c: any) => void
|
2015-04-13 22:54:22 +02:00
|
|
|
>bar : (a: any, b: any, c: any) => void, Symbol(bar,Decl(namedFunctionExpressionInModule.ts,1,11))
|
|
|
|
>a : any, Symbol(a,Decl(namedFunctionExpressionInModule.ts,1,25))
|
|
|
|
>b : any, Symbol(b,Decl(namedFunctionExpressionInModule.ts,1,27))
|
|
|
|
>c : any, Symbol(c,Decl(namedFunctionExpressionInModule.ts,1,30))
|
2014-08-15 23:33:16 +02:00
|
|
|
}
|
|
|
|
x(1, 2, 3);
|
|
|
|
>x(1, 2, 3) : void
|
2015-04-13 22:54:22 +02:00
|
|
|
>x : (a: any, b: any, c: any) => void, Symbol(x,Decl(namedFunctionExpressionInModule.ts,1,7))
|
2015-04-13 21:36:11 +02:00
|
|
|
>1 : number
|
|
|
|
>2 : number
|
|
|
|
>3 : number
|
2014-08-15 23:33:16 +02:00
|
|
|
}
|
|
|
|
|