I am following an example from Zustand with Typescript.
I get the error “TS7044: Parameter by implicitly has an any type, but a better type may be inferred from usage.”
I know I can turn of this rule in eslint/ts-config but I figured the whole point of Typescript is not to have “any” leak into your code base.
Has anyone been able to figure out how to get it to automatically infer the correct type?
I’ve also tried using the combine() method but no luck still.