export default function select( keys: string[], object: { [key: string]: T } ) { return keys.map((k) => object[k]); }