TypeScript/tests/cases/compiler/functionDeclarationWithArgumentOfTypeFunctionTypeArray.ts
2014-07-12 17:30:19 -07:00

5 lines
92 B
TypeScript

// @declaration: true
function foo(args: { (x): number }[]) {
return args.length;
}