declare interface Fn<T = any, R = T> { (...arg: T[]): R; } declare module 'lodash';