Skip to content

Conversation

@cjoecker
Copy link

It's always nice to know what is necessary to make it work with typescript

@michaeljaltamirano
Copy link

@cjoecker I did not know that there were @types for this until checking this PR--thank you!

It looks like the axe-core DefinitelyTyped types are old stub definitions, as axe-core now supplies types.

(I also think the Cypress TypeScript docs are a for how to include those files, so I wonder if this README should be more ambivalent for how to include the types. All I had to do for my setup was install @types/cypress-axe.)

```json
{
"compilerOptions": {
"types": ["cypress", "cypress-axe", "axe-core"]

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I didn't need to do this step just FYI, installing the types was enough

@github-actions
Copy link

🎉 This issue has been resolved in version 0.11.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants