cypress-real-events
cypress-real-events copied to clipboard
Types are not working on Cypress 10 with TypeScript
I use e2e.ts
with import 'cypress-real-events/support'
and none of the IntelliSense functionalities work.
I noticed that your support.d.ts
is also empty.
For example, you can check how cypress-wait-until built their type file as it works very well.
Did you upgraded to the latest version? Please double check your installed version of plug-in.
Yes all my packages are using the latest versions
@nbouvrette , I had to add ///<reference types="cypress-real-events" />
to the top of support/index.d.ts in Cypress to get it to work. Hope that helps.
Oh yeah this can be a workaround, but when the types are correctly included with the module, they should be available automatically when the package is imported.