TypeScript/tests/baselines/reference/namedFunctionExpressionInModule.types
2015-04-15 16:44:20 -07:00

20 lines
457 B
Text

=== tests/cases/compiler/namedFunctionExpressionInModule.ts ===
module Variables{
>Variables : typeof Variables
var x = function bar(a, b, c) {
>x : (a: any, b: any, c: any) => void
>function bar(a, b, c) { } : (a: any, b: any, c: any) => void
>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
>1 : number
>2 : number
>3 : number
}