fix(cypress): fix typecheck

Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/1795>
This commit is contained in:
Kasper Seweryn 2023-06-19 22:55:27 +02:00
commit ddb57ec1ce

View file

@ -1,7 +1,9 @@
declare global {
namespace Cypress {
interface Chainable {
login(): Chainable<JQuery<HTMLElement>>
declare module 'cypress' {
global {
namespace Cypress {
interface Chainable {
login(): Chainable<JQuery<HTMLElement>>
}
}
}
}