fix(cypress): fix typecheck
Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/1795>
This commit is contained in:
parent
05c8471ab8
commit
ddb57ec1ce
1 changed files with 6 additions and 4 deletions
10
front/cypress/cypress.d.ts
vendored
10
front/cypress/cypress.d.ts
vendored
|
|
@ -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>>
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue