Skip to content

[HOLD for payment 2024-08-05] [TS] Memoize utility instance lacks typings for cache property #46069

@kacper-mikolajczak

Description

@kacper-mikolajczak

Details

This is a known regression, which originates from #43868

Instance of memoize module lacks correct typings for cache property. Methods of cache (get, set, etc.) have key parameter typed as unknown.

Steps to reproduce

  1. Create an instance of memoize by calling memoize method
  2. Check the typings of cache property methods on the instance

Expected behaviour

key argument in cache methods matches arguments of memoized function

Actual behaviour

key argument is set to unknown

Screenshot 2024-07-23 at 22 03 03

Metadata

Metadata

Assignees

No one assigned

    Labels

    Awaiting PaymentAuto-added when associated PR is deployed to productionDailyKSv2

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions