Skip to content
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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

'login' and 'logout' types aren't recognized by my app #53

Open
courtneyfay opened this issue Mar 23, 2022 · 1 comment
Open

'login' and 'logout' types aren't recognized by my app #53

courtneyfay opened this issue Mar 23, 2022 · 1 comment
Labels
enhancement New feature or request

Comments

@courtneyfay
Copy link

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 or logout on my tests. I made a workaround that includes copy/pasting yalls types/index.d.ts file into my own cypress/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:
Screen Shot 2022-03-23 at 12 29 11 PM
Screen Shot 2022-03-23 at 12 29 46 PM

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.

@courtneyfay courtneyfay added the enhancement New feature or request label Mar 23, 2022
@sir-dunxalot
Copy link
Owner

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants