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

Fix #321: improve ResponseHandler types #322

Merged
merged 2 commits into from
Jul 30, 2021

Conversation

mrijke
Copy link
Contributor

@mrijke mrijke commented Jun 7, 2021

Fix the ResponseHandler type by introducing a new type that extends
the ResponseHandler and adds the instance-specific attributes to it
(async and numberOfCalls).
This will allow TS clients to use the API as described in the README.

Fix the ResponseHandler type by introducing a new type that extends
the ResponseHandler and adds the instance-specific attributes to it
(async and numberOfCalls).
This will allow TS clients to use the API as described in the README.
index.d.ts Show resolved Hide resolved
@xg-wang xg-wang added the bug label Jul 26, 2021
@xg-wang xg-wang merged commit a6d53af into pretenderjs:master Jul 30, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants