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(oidc): Add undefined as union type into arguments for login, logout, renewTokens #1429

Merged

Conversation

ShimpeiKamiguchi
Copy link
Contributor

@ShimpeiKamiguchi ShimpeiKamiguchi commented Jul 29, 2024

A picture tells a thousand words

I've modified default value as null for extras parameters in login, logout, renewTokens #1427
But I realized that they shoud be undefined because loginAsync,logoutAsync,renewTokensAsync accept extras as option.

Before this PR

TS2345 erro occur in ReactOidc.tsx

After this PR

will prevent the error from occurring

Copy link
Contributor

@guillaume-chervet guillaume-chervet left a comment

Choose a reason for hiding this comment

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

Thank you @ShimpeiKamiguchi
I will published it as an alpha

@guillaume-chervet guillaume-chervet merged commit 23ae6ba into AxaFrance:main Aug 2, 2024
13 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.

2 participants