// inspired by ramda and rambda type KeyValueOut = { [k: string]: O } type KeyValueIn = [string, O][] export default function toPairs(obj: KeyValueIn): KeyValueOut