x/rambda/source/props-spec.ts
1234567891011121314151617import {props} from 'rambda'const obj = {a: 1, b: 2}describe('R.props', () => { it('happy', () => { const result = props(['a', 'b'], obj) result // $ExpectType number[] }) it('curried', () => { const result = props(['a', 'b'])(obj) result // $ExpectType number[] })})