The types are correct, it is saying the entire object is not assignable to CacheWithLimitsOptions, there should be a nested error that tells you why.
Here it is though,
SweepFilter<unknown, unknown>isn't assignable toSweepFilter<string, Message>
The example is copied from the documentation, which is weird. Does this have to do with my code editor?






