T
TanStack6mo ago
harsh-harlequin

using queryFn callback arguments breaks type inference (if placeholderData is a function)

4 Replies
correct-apricot
correct-apricot6mo ago
it's a typescript issues related to intra expression inference (whatever that means 😂 )
correct-apricot
correct-apricot6mo ago
GitHub
Intra expression inference doesn't work within reverse mapped types...
Bug Report 🔎 Search Terms intra expression inference reverse mapped type 🕗 Version & Regression Information This is the behavior in every version I tried ⏯ Playground Link Playground link with ...
harsh-harlequin
harsh-harlequinOP6mo ago
Thats crazy! Thanks for pointing this out.

Did you find this page helpful?