Closed ggallon closed 3 weeks ago
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 | Oct 31, 2024 10:27pm |
@ggallon is attempting to deploy a commit to the authjs Team on Vercel.
A member of the Team first needs to authorize it.
Attention: Patch coverage is 0%
with 2 lines
in your changes missing coverage. Please review.
Project coverage is 39.21%. Comparing base (
ad9ed04
) to head (87af2a5
). Report is 7 commits behind head on main.
Files with missing lines | Patch % | Lines |
---|---|---|
packages/next-auth/src/lib/types.ts | 0.00% | 2 Missing :warning: |
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
@balazsorban44, It's done
0 broken links found. Links organised below by source page, or page where they were found.
@balazsorban44 sorry, that's not the way. pnpm tsc --noEmit
in locale not always cause an error (??) but every time with pnpm next build
:
Type "AppRouteHandlerFnContext" is not a valid type for the function's second argument.
Expected "Promise<any>", got "Awaitable<Record<string, string | string[]>> | undefined".
Expected "Promise<any>", got "undefined".
@balazsorban44 sorry, that's not the way.
pnpm tsc --noEmit
in locale not always cause an error (??) but every time withpnpm next build
:Type "AppRouteHandlerFnContext" is not a valid type for the function's second argument. Expected "Promise<any>", got "Awaitable<Record<string, string | string[]>> | undefined". Expected "Promise<any>", got "undefined".
@ggallon as the error mentions, undefined
is not valid, that's because params
is set as optional, it shouldn't be.
@balazsorban44 could you please bump the npm package version?
@balazsorban44 Please make an npm push. This is blocking Next 15, React 19 update.
โ๏ธ Reasoning
Follow #12002, fix type error with auth() wapprer, update params type with Promise in handler. Ref: Next.js Doc
๐งข Checklist
๐ซ Affected issues
๐ Resources