Uh oh!
There was an error while loading. Please reload this page.
fix(nextjs): Update clerkMiddleware type - #5470
Conversation
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
There was a problem hiding this comment.
Pull Request Overview
This PR addresses a TypeScript issue by updating the clerkMiddleware type in the Next.js package. The changes remove an existing @ts-expect-error comment and introduce an explicit type assertion, along with a minor refactoring of the middleware variable.
Description
Addressing outstanding TS issue in clerkMiddleware
Checklist
pnpm testruns as expected.pnpm buildruns as expected.Type of change