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
Generic for cy.request response body #9109
Comments
We would be open to reviewing any Pull Requests made trying to improve the typings. Check out our contributing doc. |
@jennifer-shehane, could you take a look at PR and let me know if there's anything else you need |
The code for this is done in cypress-io/cypress#16743, but has yet to be released. |
Released in This comment thread has been locked. If you are still experiencing this issue after upgrading to |
Having a type of response body would be more convenient for TypeScript users
Currently, I see that request and response type annotations look like
If we change it to
then a user will be able to specify the response body type in their code.
The text was updated successfully, but these errors were encountered: