Closed kevinmeyvaert closed 5 days ago
I cannot reproduce this in a newly generated Angular application even when I set skipLibCheck
to false and use TypeScript 5.5.4. But it makes sense to export this type. Can you check using v5.61.1 if it works now?
Goodmorning Arnoud, I just checked the 5.61.1
release and the error is not longer present. Thanks for sorting this out so swiftly! Have a nice day. 😀
Describe the bug
CreateMutationOptions
is not exposed correctly in @tanstack/angular-query-experimental5.61.0
. As such you get errors usingmutationOptions
.test = () => { return mutationOptions({ mutationFn: () => Promise.resolve(), }); };
Expected behavior
No ts error.
How often does this bug happen?
Every time
Screenshots or Videos
No response
Platform
Tanstack Query adapter
angular-query
TanStack Query version
5.61.0
TypeScript version
5.5.4
Additional context
No response