12 lines
325 B
Text
12 lines
325 B
Text
=== tests/cases/compiler/functionDeclarationWithArgumentOfTypeFunctionTypeArray.ts ===
|
|
function foo(args: { (x): number }[]) {
|
|
>foo : (args: ((x: any) => number)[]) => number
|
|
>args : ((x: any) => number)[]
|
|
>x : any
|
|
|
|
return args.length;
|
|
>args.length : number
|
|
>args : ((x: any) => number)[]
|
|
>length : number
|
|
}
|
|
|