Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Debian packages RPM packages NuGet packages

Repository URL to install this package:

Details    
chain-able-deps / src / loop / sort / typings.sort.ts
Size: Mime:
import { AnyObj } from '../../_typings'

export interface Comparator<Value = any, ReturnValue = any> extends Function {
  (a: Value, b: Value): ReturnValue
}

export interface SortByIteratee<
  Obj = AnyObj,
  Key = string | symbol | number,
  Collection = any[]
> {
  (value: Obj[keyof Obj], key: Key, list: Collection): any
}