t
tRPC
I
tRPC
•
2y ago
•
1 reply
infodusha
Make meta in react-query type-safe.
So right now I have to write something like
*
.
useQuery
({}, {
meta: {
mfa:
false
}
satisfies
ReactQueryMeta
});
*
.
useQuery
({}, {
meta: {
mfa:
false
}
satisfies
ReactQueryMeta
});
Is there a way to force all the queries to have this meta typed with my type
?
tRPC
Join
Move Fast & Break Nothing. End-to-end typesafe APIs made easy.
5,015
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Recent Announcements
Similar Threads
Was this page helpful?
Yes
No
Similar Threads
type safety with meta
B
Bean / ❓-help
2y ago
Type safe errors?
G
Gary, el Pingüino Artefacto / ❓-help
14mo ago
Type issue react query with enabled.
W
wleistra / ❓-help
4y ago