We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
AppRouteHandlerFnContext
1 parent c998ee6 commit 71dfb99Copy full SHA for 71dfb99
packages/next-auth/src/lib/types.ts
@@ -21,7 +21,7 @@ export type AppRouteHandlerFn = (
21
* dynamic route).
22
*/
23
ctx: AppRouteHandlerFnContext
24
-) => unknown
+) => void | Response | Promise<void | Response>
25
26
export type AppRouteHandlers = Record<
27
"GET" | "POST",
0 commit comments