x/rambda/pipe-spec.ts
1234567891011121314151617import {add, subtract, pipe} from 'rambda'describe('R.pipe', () => { it('happy', () => { const result = pipe(subtract(11), add(1), add(1))(1) result // $ExpectType number }) it('with void', () => { const result = pipe( () => {}, () => {} )() result // $ExpectType void })})