zirkelc
zirkelc13mo ago

Data from useQuery is inferred as data: {} | undefined

My server query returns data from database via ElectroDB. TypeScript can statically infer all properties. However, on the client, the returned data is always inferred as data: {} | undefined.
0 Replies
No replies yetBe the first to reply to this messageJoin