mirror of
https://github.com/AppFlowy-IO/AppFlowy-Web.git
synced 2025-11-29 10:47:56 +08:00
20 lines
336 B
TypeScript
20 lines
336 B
TypeScript
/// <reference types="cypress" />
|
|
|
|
declare namespace Cypress {
|
|
interface Chainable {
|
|
/**
|
|
* Custom command type declarations
|
|
*/
|
|
}
|
|
|
|
interface Cypress {
|
|
cy?: Chainable;
|
|
}
|
|
}
|
|
|
|
// Add proper typing for JQuery elements
|
|
declare global {
|
|
interface JQuery<TElement = HTMLElement> {
|
|
[index: number]: TElement;
|
|
}
|
|
} |