UNPKG

@nozbe/watermelondb

Version:

Build powerful React Native and React web apps that scale from hundreds to tens of thousands of records and remain fast

6 lines (4 loc) 287 B
type _SpreadFn<Arg, Return> = (...args: Arg[]) => Return type _ArrayFn<Arg, Return> = (args: Arg[]) => Return // This function takes either (...args: Arg[]) spread or (args: Arg[]) array argument export type ArrayOrSpreadFn<Arg, Return> = _SpreadFn<Arg, Return> & _ArrayFn<Arg, Return>