Closed kacper-mikolajczak closed 3 weeks ago
I will work on this!
Reviewing
label has been removed, please complete the "BugZero Checklist".
The solution for this issue has been :rocket: deployed to production :rocket: in version 9.0.13-4 and is now subject to a 7-day regression period :calendar:. Here is the list of pull requests that resolve this issue:
If no regressions arise, payment will be issued on 2024-08-05. :confetti_ball:
Uh oh! This issue is overdue by 2 days. Don't forget to update your issues!
I think we can close this one, right @mountiny?
Yep, thanks!
Details
This is a known regression, which originates from https://github.com/Expensify/App/pull/43868
Instance of
memoize
module lacks correct typings forcache
property. Methods of cache (get
,set
, etc.) havekey
parameter typed asunknown
.Steps to reproduce
memoize
by callingmemoize
methodcache
property methods on the instanceExpected behaviour
key
argument in cache methods matches arguments of memoized functionActual behaviour
key
argument is set tounknown