TypeScript/tests/cases/compiler/functionDeclarationWithArgumentOfTypeFunctionTypeArray.ts

5 lines
92 B
TypeScript
Raw Normal View History

2014-07-13 01:04:16 +02:00
// @declaration: true
function foo(args: { (x): number }[]) {
return args.length;
}