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