Replies: 2 comments 2 replies
-
one issue for typing MSW, is that I however i encourage you to try implement it, it could be a good way to learn Typescript advanced typing techniques. I would not implement it myself, as i have limited ressources and time. As i do all this on my spare time. |
Beta Was this translation helpful? Give feedback.
1 reply
-
I did it thanks to https://github.com/ka2jun8/zodios-msw/blob/main/src/rest/msw/wrapper.ts |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
As you probably know, MSW is a widely used API mocking library.
It would be really nice if we could build a type-safe MSW handler from Zodios API definitions.
I thought about creating one myself, but I don't understand the Zodios code at all yet, so I'll just make a proposal.
It would probably be very similar to @zodios/express.
Just an image:
What do you think?
Beta Was this translation helpful? Give feedback.
All reactions