export const keysOf = >(o: O): (keyof O)[] => { return Object.keys(o) as any; };