Skip to content

Commit 85815a6

Browse files
feat(ts): export NextAuthRequest type (#12207)
* Expose NextAuthRequest type from root * Update index.ts * Update index.ts --------- Co-authored-by: Balázs Orbán <info@balazsorban.com>
1 parent 21a81f9 commit 85815a6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/next-auth/src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ type AppRouteHandlers = Record<
103103
(req: NextRequest) => Promise<Response>
104104
>
105105

106-
export type { NextAuthConfig }
106+
export type { NextAuthConfig, NextAuthRequest }
107107

108108
/**
109109
* The result of invoking {@link NextAuth|NextAuth}, initialized with the {@link NextAuthConfig}.

0 commit comments

Comments
 (0)