You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@param {Cypress.PluginEvents} on
*/
declare function onProxy(on: Cypress.PluginEvents): (eventName: string, callback: any) => any;
Hi there, running into the same issue. How does your import statement look in your config.ts following this change? With this change I still get the error.
ESLint complains about several Typescript issues in cypress.config.ts.
import fix from "cypress-on-fix"; // Could not find a declaration file for module cypress-on-fix.
Subsequently there are warnings about assignments, calls and arguments of type
any
.Could we provide type descriptions so that
npm i --save-dev @types/cypress-on-fix
might be used to fix these warnings? Better ideas?Workaround: add cypress-on-fix.d.ts:
and adjust the call to fixedOn in cypress.config.ts:
Still not great because there are still explicit any declarations, but at least the warnings in the cypress config go away.
The text was updated successfully, but these errors were encountered: