TypeScript/tests/baselines/reference/functionDeclarationWithArgumentOfTypeFunctionTypeArray.types

13 lines
325 B
Plaintext
Raw Normal View History

2014-08-15 23:33:16 +02:00
=== tests/cases/compiler/functionDeclarationWithArgumentOfTypeFunctionTypeArray.ts ===
function foo(args: { (x): number }[]) {
>foo : (args: ((x: any) => number)[]) => number
>args : ((x: any) => number)[]
>x : any
2014-08-15 23:33:16 +02:00
return args.length;
>args.length : number
>args : ((x: any) => number)[]
>length : number
2014-08-15 23:33:16 +02:00
}