declare function arity (arity: number, fn: Function): Function;

export = arity;

declare function arity (arity: number, fn: (...args: any[]) => any): (...args: any[]) => any;

export = arity;

Use function signatures with typings
Use function signatures with typings
