Closed ersimont closed 5 months ago
This should be useful for store.update/mutate once using TS 5.4. If the second args were noinfer, I think autocomplete would work for users typing out arguments.
Not going to go down this route. It breaks code where the function is generic, e.g.:
store.update(omit, 'b');
This should be useful for store.update/mutate once using TS 5.4. If the second args were noinfer, I think autocomplete would work for users typing out arguments.