-
Notifications
You must be signed in to change notification settings - Fork 44
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Any ideas for supporting typescript/angular? #36
Comments
Woops, looks I'm missing some d.ts files in the project :D. Will do! thanks for the interest 😊 |
as a temporary workaround, you can cast it as any: |
@mfrachet I tried the temporary workaround mentioned above but it's running into a different issue. |
Have you followed the 3 steps for the installation? |
@mfrachet I am also having some issues using this on an angular project with the above work around, I added the commands to my own index.d.ts as well but the same issue occurred. |
IIRC, Also, what you could do is to create an open source project showing this issue so that I can play with it and help you :) |
v0.2.4 ships an index.d.ts file owning some declarations for typescript. Make sure to have: /// <reference path="cypress-audit" /> at the top of your cypress tests and should be good to go :). I'm closing the issue for now, feel free to reopen if you're in trouble :) |
Your project looks really cool. I have an angular app using cypress via the Nrwl.io setup, but I'm stuck running this. I did the installation as suggested then tried to workaround the absence of @types/cypress-audit by faking an index.d.ts declaration but when I run I still get
Any ideas?
Tim
The text was updated successfully, but these errors were encountered: