You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
melvin-botbot
changed the title
[TS] Memoize utility lacks correct typings for transformKey option when called with constructable
[HOLD for payment 2024-08-19] [TS] Memoize utility lacks correct typings for transformKey option when called with constructable
Aug 12, 2024
The solution for this issue has been 🚀 deployed to production 🚀 in version 9.0.18-10 and is now subject to a 7-day regression period 📆. Here is the list of pull requests that resolve this issue:
Skipping the payment summary for this issue since all the assignees are employees or vendors. If this is incorrect, please manually add the payment summary SO.
Details
This is a known regression, which originates from #43868
memoize
module lacks correct typings fortransformKey
option when called with constructables (entities which are initialized withnew
keyword).Steps to reproduce
memoize
methodtransformKey
callbacktransformKey
callback's argumentsExpected behaviour
transformKey
arguments match constructor's argumentsActual behaviour
transformKey
arguments are typed asreadonly []
(empty tuple)The text was updated successfully, but these errors were encountered: