-
Notifications
You must be signed in to change notification settings - Fork 32
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
fix(typescript): fix typescript type DecodedJwt #407
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can you please add types tests to https://github.com/nearform/fast-jwt/blob/master/test/types.spec.ts?
Please link the issue that this PR fixes, too |
I'm not sure why this change would fix your issue. Can you create a test which fails with the existing code, and succeeds with your change? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you write a test for this?
I changed the pull request to just fix the payload type |
I've added a type test for that |
tests are failing, can you take a look please? |
lint errors should be fixed |
fixes #409