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’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(typescript): fix typescript type DecodedJwt #407

Merged
merged 10 commits into from
Nov 17, 2023
Merged

fix(typescript): fix typescript type DecodedJwt #407

merged 10 commits into from
Nov 17, 2023

Conversation

qoomon
Copy link
Contributor

@qoomon qoomon commented Nov 14, 2023

fixes #409

Copy link
Member

@simoneb simoneb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@simoneb
Copy link
Member

simoneb commented Nov 14, 2023

Please link the issue that this PR fixes, too

@simoneb
Copy link
Member

simoneb commented Nov 15, 2023

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?

Copy link
Member

@simoneb simoneb left a 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?

@qoomon
Copy link
Contributor Author

qoomon commented Nov 17, 2023

I changed the pull request to just fix the payload type

@qoomon
Copy link
Contributor Author

qoomon commented Nov 17, 2023

I've added a type test for that

@simoneb
Copy link
Member

simoneb commented Nov 17, 2023

tests are failing, can you take a look please?

@qoomon
Copy link
Contributor Author

qoomon commented Nov 17, 2023

lint errors should be fixed

@simoneb simoneb merged commit a5ef39b into nearform:master Nov 17, 2023
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Wrong type for DecodedJwt.payload
2 participants