Skip to content

Conditional select parameter on useQuery with type inference #8355

Discussion options

You must be logged in to vote

I was able to achieve what I wanted with function overloads like this.

Replies: 1 comment 2 replies

Comment options

@halileohalilei
Comment options

@halileohalilei
Comment options

Answer selected by halileohalilei
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants