Returning undefined from makeCacheKey is the recommended technique for efficiently opting out of caching for particular combinations of input arguments, so that possibility should be reflected in the TypeScript types for the various functions that handle keys.
Returning undefined from
makeCacheKey
is the recommended technique for efficiently opting out of caching for particular combinations of input arguments, so that possibility should be reflected in the TypeScript types for the various functions that handle keys.