From 6a0d9e43d76153cbdee866cf0f8bf9ba97e53467 Mon Sep 17 00:00:00 2001 From: Jordan McDonough Date: Wed, 18 Aug 2021 06:40:56 +1000 Subject: [PATCH] fix: Add Timeoutable to cy.document function typing (#17706) Co-authored-by: Jennifer Shehane --- cli/types/cypress.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cli/types/cypress.d.ts b/cli/types/cypress.d.ts index 131e43bbda..6e577cc4c2 100644 --- a/cli/types/cypress.d.ts +++ b/cli/types/cypress.d.ts @@ -982,7 +982,7 @@ declare namespace Cypress { * .its('contentType') * .should('eq', 'text/html') */ - document(options?: Partial): Chainable + document(options?: Partial): Chainable /** * Iterate through an array like structure (arrays or objects with a length property).