x/rambda/anyPass-spec.ts
123456789101112131415161718import {anyPass} from 'rambda'describe('anyPass', () => { it('happy', () => { const x = anyPass<number>([ y => { y // $ExpectType number return typeof y === 'number' }, y => { return y > 0 }, ])(11) x // $ExpectType boolean })})