Skip to content
Discussion options

You must be logged in to vote

hm, really not sure what's going on here. We've explicitly added different types for ts < 4.1 when we made the change to useQueries so that smaller TS versions are not affected, as we use TS 4.1 features to achieve this:

https://github.com/tannerlinsley/react-query/blob/05a5382e4d73db46b4f562c30afb353fd0b165f8/package.json#L86-L92

could you provide a codesandbox reproduction?

also, just to let you know, we might drop this in the next major and bump the required TS version to 4.1 (which is over a year old as of now)

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@Asudharshanam
Comment options

@Asudharshanam
Comment options

Answer selected by Asudharshanam
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