| | |
| | | } |
| | | type LodashConcat1x1<T> = (values: lodash.Many<T>) => T[]; |
| | | type LodashConcat1x2<T> = (array: lodash.Many<T>) => T[]; |
| | | type LodashCond = <T, R>(pairs: Array<lodash.CondPair<T, R>>) => (Target: T) => R; |
| | | interface LodashCond { |
| | | <R>(pairs: Array<lodash.CondPairNullary<R>>): () => R; |
| | | <T, R>(pairs: Array<lodash.CondPairUnary<T, R>>): (Target: T) => R; |
| | | } |
| | | interface LodashConformsTo { |
| | | <T>(source: lodash.ConformsPredicateObject<T>): LodashConformsTo1x1<T>; |
| | | <T>(source: lodash.__, object: T): LodashConformsTo1x2<T>; |
| | |
| | | interface LodashGroupBy { |
| | | <T>(iteratee: lodash.ValueIteratee<T>): LodashGroupBy1x1<T>; |
| | | <T>(iteratee: lodash.__, collection: lodash.List<T> | null | undefined): LodashGroupBy1x2<T>; |
| | | <T>(iteratee: lodash.ValueIteratee<T>, collection: lodash.List<T> | null | undefined): lodash.Dictionary<[T, ...T[]]>; |
| | | <T>(iteratee: lodash.ValueIteratee<T>, collection: lodash.List<T> | null | undefined): lodash.Dictionary<T[]>; |
| | | <T extends object>(iteratee: lodash.__, collection: T | null | undefined): LodashGroupBy2x2<T>; |
| | | <T extends object>(iteratee: lodash.ValueIteratee<T[keyof T]>, collection: T | null | undefined): lodash.Dictionary<[T[keyof T], ...Array<T[keyof T]>]>; |
| | | <T extends object>(iteratee: lodash.ValueIteratee<T[keyof T]>, collection: T | null | undefined): lodash.Dictionary<Array<T[keyof T]>>; |
| | | } |
| | | type LodashGroupBy1x1<T> = (collection: lodash.List<T> | object | null | undefined) => lodash.Dictionary<[T, ...T[]]>; |
| | | type LodashGroupBy1x2<T> = (iteratee: lodash.ValueIteratee<T>) => lodash.Dictionary<[T, ...T[]]>; |
| | | type LodashGroupBy2x2<T> = (iteratee: lodash.ValueIteratee<T[keyof T]>) => lodash.Dictionary<[T[keyof T], ...Array<T[keyof T]>]>; |
| | | type LodashGroupBy1x1<T> = (collection: lodash.List<T> | object | null | undefined) => lodash.Dictionary<T[]>; |
| | | type LodashGroupBy1x2<T> = (iteratee: lodash.ValueIteratee<T>) => lodash.Dictionary<T[]>; |
| | | type LodashGroupBy2x2<T> = (iteratee: lodash.ValueIteratee<T[keyof T]>) => lodash.Dictionary<Array<T[keyof T]>>; |
| | | interface LodashGt { |
| | | (value: any): LodashGt1x1; |
| | | (value: lodash.__, other: any): LodashGt1x2; |