generated from muhtadeetaron/nextjs-template
initial commit
This commit is contained in:
17
torpedo/next-auth.d.ts
vendored
Normal file
17
torpedo/next-auth.d.ts
vendored
Normal file
@ -0,0 +1,17 @@
|
||||
// next-auth.d.ts
|
||||
import NextAuth from "next-auth";
|
||||
import { JWT } from "next-auth/jwt";
|
||||
|
||||
// Extend the default session interface
|
||||
declare module "next-auth" {
|
||||
interface Session {
|
||||
accessToken?: string;
|
||||
}
|
||||
}
|
||||
|
||||
// Extend the default JWT interface
|
||||
declare module "next-auth/jwt" {
|
||||
interface JWT {
|
||||
accessToken?: string;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user