TypeScript/tests/baselines/reference/functionDeclarationWithArgumentOfTypeFunctionTypeArray.types
2014-08-15 14:37:48 -07:00

13 lines
328 B
Plaintext

=== 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
}