sweatpants
Explore posts from serversDTDrizzle Team
•Created by sweatpants on 9/21/2024 in #help
Returned type inference when using tanstack query
I have a hook
which works great but the type inference breaks in situations that you might change the result type.
In the case above the data incorrectly doesn't have set with exercises. Which makes sense because the
GetSetGroupsArgs
is static and doesn't update with args but I'm not sure how to go about this better.1 replies