Skip to content

Commit

Permalink
fix: make adapter optional
Browse files Browse the repository at this point in the history
  • Loading branch information
hambergerpls committed Oct 23, 2024
1 parent 38ea3d5 commit d4ee6a0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@ import { Awaitable } from "@auth/core/types"


export type RemixAuthConfig = Omit<AuthConfig, "raw" | "adapter"> & {
adapter: Adapter | ( (env: unknown) => Awaitable<Adapter> )
adapter?: Adapter | ( (env: unknown) => Awaitable<Adapter> )
}

0 comments on commit d4ee6a0

Please sign in to comment.