mobily / ts-belt

🔧 Fast, modern, and practical utility library for FP in TypeScript.
https://mobily.github.io/ts-belt
MIT License
1.11k stars 31 forks source link

Why does groupBy return Partial Record? #48

Closed user753 closed 1 year ago

user753 commented 2 years ago

What is the usage case for this Partial type? Could it just return Record?

mobily commented 2 years ago

@user753 that's actually a good question and I don't really remember 😅 but I feel the Partial type might be redundant, I will look into it

mobily commented 1 year ago

@user753 fixed in v4.0.0-rc.0 (you can install it with the next tag, yarn add @mobily/ts-belt@next