add TypeScript definition to task.js#544
add TypeScript definition to task.js#544jordanpowell88 merged 2 commits intocypress-io:masterfrom quisido:patch-1
Conversation
|
Sorry to ping directly @lmiller1990 and @cacieprins but since you reviewed the last PR and this PR also has not been reviewed in >1 year, please give it a look. This TypeScript incompatibility blocks all validation of Cypress code coverage (which is important when combining multiple plugins) and linters that prevent the use of |
|
@CharlesStover this is no longer an issue in Cypress 10+ AFAIK. Can you provide an example of this in a newer version of Cypress? |
|
Still an error @jordanpowell88 Let's approve and merge this |
lmiller1990
left a comment
There was a problem hiding this comment.
Thanks, sorry to keep you waiting for a year
Please ping me if you need 👀 on anything
|
🎉 This PR is included in version 3.12.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
|
I added another PR tangential to this issue, as I don't think the type is 100% correct. |

Fixes error in IDE:
Fixes error in CI:
Workaround
I've been copy-pasting this between repos, which is a poor developer experience, but it's also now not working in monorepos, because it's existence in the root directory is not picked up by the workspace-specific linter.
The aim of this PR is to apply the workaround solution to this repository such that the workaround is no longer required.