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

7 lines (4 loc) 203 B
// inspired by ramda and rambda type KeyValueIn<O = any> = { [k: string]: O } type KeyValueOut<O = any> = [string, O][] export default function fromPairs<O = any>(pairs: KeyValueIn<O>): KeyValueOut<O>