v1.6.0 - 'collect' and other improvements 🫴
Updates
We just introduced a new collect
combinator. Check it out in the README, you'll love it!
We've also improved our README - thanks Landon! -, fixed some type-level bugs and made the output type of a composition look better:
// From this
const result = merge(a, b)
// ^? DomainFunction<{ resultA: number } & { resultB: string }>
// To this
const result = merge(a, b)
// ^? DomainFunction<{ resultA: number; resultB: string }>
What's Changed
- 🫴 Add a new
collect
combinator and warn about pitfalls withmerge
by @gustavoguichard in #66 - 💅 Add a prettify type to make the presented MergeObjects type more read… by @gustavoguichard in #65
- 🐛 Fix MergeObjs type to behave more like JS's Object.assign and add som… by @gustavoguichard in #68
- 📖 README: improvements and punctuation by @jly36963 in #63
New Contributors
Full Changelog: v1.5.1...v1.6.0