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

chore(examples): remove unnecessary 'as any' on route return #12399

Merged
merged 1 commit into from
Dec 18, 2024

Conversation

FinnWard
Copy link
Contributor

Remove unnecessary as any on route return, the typing does not error anymore on this assignment.

☕️ Reasoning

Unnecessary any on the route, this was not causing any issues but it was also not providing any additional functionality

🧢 Checklist

  • Documentation
  • Tests
  • Ready to be merged

🎫 Affected issues

No associated issue with this change

📌 Resources

Remove unnecessary as any on route return, the typing does not error anymore on this assignment.
Copy link

vercel bot commented Dec 18, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
auth-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Dec 18, 2024 10:06am
1 Skipped Deployment
Name Status Preview Comments Updated (UTC)
next-auth-docs ⬜️ Ignored (Inspect) Visit Preview Dec 18, 2024 10:06am

Copy link

vercel bot commented Dec 18, 2024

@FinnWard is attempting to deploy a commit to the authjs Team on Vercel.

A member of the Team first needs to authorize it.

@ndom91 ndom91 changed the title Remove unnecessary as any on route return chore(examples): remove unnecessary 'as any' on route return Dec 18, 2024
Copy link
Member

@ndom91 ndom91 left a comment

Choose a reason for hiding this comment

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

Great, thanks for the contribution!

@ndom91 ndom91 merged commit c96e162 into nextauthjs:main Dec 18, 2024
6 of 7 checks passed
falcowinkler pushed a commit to halvaradop/next-auth that referenced this pull request Jan 5, 2025
…hjs#12399)

Remove unnecessary as any on route return

Remove unnecessary as any on route return, the typing does not error anymore on this assignment.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants