Skip to content

Commit

Permalink
debug: session type
Browse files Browse the repository at this point in the history
  • Loading branch information
RichGriff committed Dec 9, 2024
1 parent fcccbd5 commit 74b61c0
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions next_frontend/types/next-auth.d.ts
Original file line number Diff line number Diff line change
@@ -1,22 +1,23 @@
// next-auth.d.ts
import NextAuth from 'next-auth';
import 'next-auth/jwt';
import { Session } from "next-auth";

declare module 'next-auth' {
interface Session {
accessToken?: string;
key?: string;
provider?: string;
}

interface User {
accessToken?: string;
key?: string;
provider?: string;
}
}

declare module 'next-auth/jwt' {
interface JWT {
accessToken?: string;
key?: string;
provider?: string;
}
}

0 comments on commit 74b61c0

Please sign in to comment.