From dd8a9027539148673dac27956ef5ba50c5ddd045 Mon Sep 17 00:00:00 2001 From: Jordan Hall Date: Fri, 8 Apr 2022 13:47:43 +0100 Subject: [PATCH] Fix: Add typing for configure Axe --- src/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/index.ts b/src/index.ts index 89d9981..a9dba96 100644 --- a/src/index.ts +++ b/src/index.ts @@ -33,7 +33,7 @@ export const injectAxe = () => { ); }; -export const configureAxe = (configurationOptions = {}) => { +export const configureAxe = (configurationOptions: axe.Spec = {}) => { cy.window({ log: false }).then((win) => { return win.axe.configure(configurationOptions); });