You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fetchFn is not intended to use in that way. That option is to replace the default fetch function. Since fetch itself doesn't have typed responses etc, we cannot provide typed response there. Even if we try to implement it;
We cannot magically provide the typed response from a url that is string.
Typed responses etc won't be accepted by TypeScript since the default fetch signature doesn't have typed stuff.
Hi, firstly congratulations for this amazing library!
I'm using a custom fetchFn as described below.
However i still getting
TypedResponse<T>
and i that case the expect result would be directlyT
.Is there anyway to achieve it?
Thank you!
The text was updated successfully, but these errors were encountered: