Skip to content

Narrow typing the QueryKey type definition #1849

Answered by TkDodo
dominictwlee asked this question in Ideas
Discussion options

You must be logged in to vote

keys can be string or any array that people want, but the type inference would need some love. unknown[] is actually way too broad :)

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by dominictwlee
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Ideas
Labels
None yet
2 participants