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

Add handledRequests, passthroughRequests & unhandledRequests to ts def #353

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

abel-n
Copy link

@abel-n abel-n commented Jun 27, 2022

Fix #337

Moving our project to typescript I've bumped into an issue that's been there for a long time apparently: missing handled / unhandled / passthrough request information from the typescript definition.

I can see that the actual value might be an instance of NoopArray, but type-wise I think it should be safe to just stick to using an array of requests. Suggestions are welcome. ☺️

@tuzmusic
Copy link

Any chance this will be merged soon?

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

Successfully merging this pull request may close these issues.

Server class in index.d.ts does not match Pretender class
2 participants