selfrefactor / rambdax

Extended version of Rambda
https://selfrefactor.github.io/rambdax
MIT License
221 stars 26 forks source link

Improve mapToObject types #96

Closed Vetin closed 7 months ago

Vetin commented 8 months ago

Current implementation does not allow to auto infer type from map function

https://www.typescriptlang.org/play?#code/JYWwDg9gTgLgBAbxAQzAFQgeQEYCsCmAxjAL5wBmUEIcA5FMiNgCbIAetAUJ80QDbIo+OIQgA7AM7w+wKQC44AQSgMAngB4EwZgqlRgYgOYAaOGMb4FYgK5N8UEgD4A3J1GT4EPHAC8cFOhYeEQwABTAMPg0Po5woQgA2hFRAHTaALoKySAkAJSmMlK5nAD0JXAVcAB6APzcvIQCQhTWYsTA4v6oGDgExABM6mimAKpw+GyRYswScF59MI6h5GIK4WJg1jAKaLm+sSMAPuTIfBL4BbLbFWgJ6bkKI65u4lJzeP2+XYG9If3hkWisXiSUBaWYmTg2TylyKpXKlVqnCAA

selfrefactor commented 8 months ago

Thank you for the MR and this issue - I will write once it is released on NPM

selfrefactor commented 7 months ago

Closing this one as it is released with 11.1.0