2 Replies
plain-purple•3y ago
I also had similar type problem here.
"typescript": ^4.9.5
"@tanstack/solid-query": "^4.24.9"

plain-purple•3y ago
When I pass the params as a normal object to
createQuery, the type works just fine.
But, the docs said that we need to pass a function that returns an object, so that they can be tracked in a reactive scope.
