export const pick: (key: keyof T) => (obj: T) => T[keyof T] = (key: keyof T) => (obj: T) => obj[key];