Replies: 1 comment
-
In general, are any swr types exported? Right now I need to do:
but seems like a hack |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi people!
I use SWR with my SDK generated with open-ts-sdk-builder (API calls looks like
API.getUser({ userId })
).I wrote a wrapper that allows to use SWR with it but I have some minor types issues that could, I think, be solved by exposing the SWR internal types (especially
ConfigInterface
andresponseInterface
, see comments) :It works like that so no emergency, but let me know what you think ;).
Beta Was this translation helpful? Give feedback.
All reactions