fix: Add Timeoutable to cy.document function typing (#17706)

Co-authored-by: Jennifer Shehane <jennifer@cypress.io>
This commit is contained in:
Jordan McDonough
2021-08-18 06:40:56 +10:00
committed by GitHub
parent ff3328669c
commit 6a0d9e43d7

View File

@@ -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).