Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adjust setQuery updater function call to appease tsc
The current code is returning a "Spread types may only be created from object types" error when trying to understand `{ ...prev, ...updater(prev) }`. This commit makes sure typescript can tell the result is an object.
- Loading branch information