Skip to main content
Module

x/rambda/mergeLeft-spec.ts

Faster and smaller alternative to Ramda
Go to Latest
File
import {mergeLeft} from 'rambda'
describe('R.mergeLeft', () => { const result = mergeLeft({foo: 1}, {bar: 2}) const curriedResult = mergeLeft({foo: 1})({bar: 2})
result.foo // $ExpectType number result.bar // $ExpectType number curriedResult.bar // $ExpectType number})