Skip to content

Commit

Permalink
feat(ts): export NextAuthRequest type (#12207)
Browse files Browse the repository at this point in the history
* Expose NextAuthRequest type from root

* Update index.ts

* Update index.ts

---------

Co-authored-by: Balázs Orbán <[email protected]>
  • Loading branch information
mahady-manana and balazsorban44 authored Feb 6, 2025
1 parent 21a81f9 commit 85815a6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/next-auth/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ type AppRouteHandlers = Record<
(req: NextRequest) => Promise<Response>
>

export type { NextAuthConfig }
export type { NextAuthConfig, NextAuthRequest }

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

0 comments on commit 85815a6

Please sign in to comment.