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