Correct type of its
for request body
#29536
Labels
stale
no activity on this issue for a long period
type: typings
Issue related to Cypress types (for TypeScript)
What would you like?
Hi,
When we intercept a req, and then get it using
cy.get("@req")
and want to access the body usingits("request.body")
, it would be helpful if "request.body" was included in the types so that the IDE (VSCode in my case) can give better suggestions.Currently I do not see any suggestion related to this. I guess the
.get
only has a type of JQuery which is causing this.Thanks !!
Why is this needed?
No response
Other
No response
The text was updated successfully, but these errors were encountered: