From ddb57ec1cec241ef0dd1fa85621ce38f9f1d4544 Mon Sep 17 00:00:00 2001 From: Kasper Seweryn Date: Mon, 19 Jun 2023 22:55:27 +0200 Subject: [PATCH] fix(cypress): fix typecheck Part-of: --- front/cypress/cypress.d.ts | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/front/cypress/cypress.d.ts b/front/cypress/cypress.d.ts index f10ea6f51..f61520e3e 100644 --- a/front/cypress/cypress.d.ts +++ b/front/cypress/cypress.d.ts @@ -1,7 +1,9 @@ -declare global { - namespace Cypress { - interface Chainable { - login(): Chainable> +declare module 'cypress' { + global { + namespace Cypress { + interface Chainable { + login(): Chainable> + } } } }