mirror of
https://github.com/cypress-io/cypress.git
synced 2026-02-11 17:50:01 -06:00
fix: Add Timeoutable to cy.document function typing (#17706)
Co-authored-by: Jennifer Shehane <jennifer@cypress.io>
This commit is contained in:
2
cli/types/cypress.d.ts
vendored
2
cli/types/cypress.d.ts
vendored
@@ -982,7 +982,7 @@ declare namespace Cypress {
|
||||
* .its('contentType')
|
||||
* .should('eq', 'text/html')
|
||||
*/
|
||||
document(options?: Partial<Loggable>): Chainable<Document>
|
||||
document(options?: Partial<Loggable & Timeoutable>): Chainable<Document>
|
||||
|
||||
/**
|
||||
* Iterate through an array like structure (arrays or objects with a length property).
|
||||
|
||||
Reference in New Issue
Block a user