query-key-factory
query-key-factory copied to clipboard
Typing: staleTime not available as prop in static query
Hello!
I ran into a small issue when trying to use the library.
It seems that the staleTime
is not available in types when using a static query without any queryKey, while it works just fine when the query is dynamic:
Is this behaviour intended? I would assume the props should be similar in both cases. Thanks in advance for reply!