// -- Example Usage: // -- cypress/tsconfig.json // { // "compilerOptions": { // "types": ["cypress", "cypress-plugin-snapshots"] // } // } declare namespace Cypress { interface Chainable { toMatchSnapshot(options?: Partial<{ ignoreExtralFields: boolean, ignoreExtraArrayItems: boolean, normalizeJson: boolean, replace: any, name: string }>): Chainable; toMatchImageSnapshot(options?: Partial<{ createDiffImage: boolean, threshold: number, thresholdType: "percent" | "pixels", name: string }> & Partial): Chainable; } }