Open courtneyfay opened 2 years ago
Thanks @courtneyfay. Your request is great and I appreciate the information. I'd say this is a bug as much as it is a feature since thing aren't working as expected. :)
I apologize for the slow response here. I can replicate this issue locally and will work identify a fix. In the meantime, I am glad you have found a workaround.
I was so happy to have found this library integrating Cypress, Next and Auth0. Great work! 🎉
(Also, I've never opened an issue on any library before, so please feel free to give me feedback on my request.)
Feature Request
Typescript isn't recognizing
login
orlogout
on my tests. I made a workaround that includes copy/pasting yallstypes/index.d.ts
file into my owncypress/support/types.d.ts
file. I think it would be better if yall exported your types somehow so I could use those instead.Basic example
Here are some examples from my tests:
Motivation
If you update your types file, it will break my app with the way I've currently set up the workaround. Would much prefer to just stay in sync with your types if possible.