T
TanStack3y ago
foreign-sapphire

Solid Query

I am having type issue using createQuery
2 Replies
plain-purple
plain-purple3y ago
I also had similar type problem here. "typescript": ^4.9.5 "@tanstack/solid-query": "^4.24.9"
No description
No description
plain-purple
plain-purple3y 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.
No description
No description

Did you find this page helpful?