Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Export type information #636

Open
arabold opened this issue Aug 11, 2020 · 2 comments
Open

feat: Export type information #636

arabold opened this issue Aug 11, 2020 · 2 comments

Comments

@arabold
Copy link

arabold commented Aug 11, 2020

I've just tried a bunch of different mocking libraries and finally discovered mockyeah. It is one of the few libraries that works pretty much out of the box to mock API endpoints for my React Native app with Detox. The available feature set seems perfect for my use case although I mainly rely on @mockyeah/server.

However, it seems there are no TypeScript types provided. That makes using mockyeah harder than it needs to be How about adding typing information either to this library directly or via Definitely Typed?

@AndersDJohnson
Copy link
Member

@arabold Thanks, glad it's working well for you! So the story is that @mockyeah/server code is a little older than the rest of the packages here, so it's not fully written in TypeScript yet. The best plan would be to convert that code to TypeScript so we get accurate type definitions for free. This is not necessarily something we'll be able to invest in short-term, but definitely open to collaboration and pull requests. Thoughts?

@Xiphe
Copy link

Xiphe commented Jul 28, 2021

Would also love to see the server typed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants