File size: 116 Bytes
d605f27
 
1
2
3

export default (obj, keys) => (Object as any).fromEntries(Object.entries(obj).filter(([k]) => keys.includes(k)));;