Skip to content

Commit 61b92ec

Browse files
committed
chore: revert type assertion
1 parent 282f7ab commit 61b92ec

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/next-auth/src/next/middleware.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@ export function withAuth(...args: WithAuthArgs) {
196196
})
197197
}
198198

199-
const options = args[0] as NextAuthMiddlewareOptions
199+
const options = args[0]
200200
return async (...args: Parameters<NextMiddleware>) =>
201201
await handleMiddleware(args[0], options)
202202
}

0 commit comments

Comments
 (0)