next-auth icon indicating copy to clipboard operation
next-auth copied to clipboard

Correct the type signature of `account` in callbacks.

Open w9 opened this issue 1 year ago • 2 comments

☕️ Reasoning

The account argument can be undefined if it's not immediately after a sign-in. The current type signature does not reflect that.

🧢 Checklist

  • [x] Documentation (Not applicable)
  • [x] Tests
  • [x] Ready to be merged

w9 avatar Oct 09 '24 20:10 w9

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 Nov 1, 2024 0:39am
1 Skipped Deployment
Name Status Preview Comments Updated (UTC)
next-auth-docs ⬜️ Ignored (Inspect) Visit Preview Nov 1, 2024 0:39am

vercel[bot] avatar Oct 09 '24 20:10 vercel[bot]

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

A member of the Team first needs to authorize it.

vercel[bot] avatar Oct 09 '24 20:10 vercel[bot]