This repository has been archived by the owner on Apr 19, 2023. It is now read-only.
TS2403: Subsequent variable declarations must have the same type #1
Labels
bug
Something isn't working
help wanted
Extra attention is needed
wontfix
This will not be worked on
When importing
useCypressTag
orcypressTag
into non-cypress files, I get a bunch of TS2403 errors fromjest
. No clue why, or how to fix it yet... please let me know if you do... 😕The Cypress side of things work great, and everything works fine within this project. So it's only when I try to use the
useCypressTag
helper function in the application code of a different Typescript project (in a React component of acreate-react-app
project) 🤷♂️Workaround
Either just don't use the
useCypressTag
helper, write your own, or simply copy the following helper function into your own project and import it from there instead of fromcypress-helper-getcy
.The text was updated successfully, but these errors were encountered: