fp-ts-record-unions
TypeScript icon, indicating that this package has built-in type declarations

1.0.0 • Public • Published

fp-ts record unions

import union from 'fp-ts-record-unions'
 
assert.deepStrictEqual(union([{
    foo: 'foo',
}, {
    bar: 'bar'
}]), {
    foo: 'foo',
    bar: 'bar'
})

Readme

Keywords

Package Sidebar

Install

npm i fp-ts-record-unions

Weekly Downloads

0

Version

1.0.0

License

MIT

Unpacked Size

1.61 kB

Total Files

4

Last publish

Collaborators

  • stevemao