Files
examjam-frontend/torpedo/next-auth.d.ts
2025-07-03 01:43:25 +06:00

18 lines
333 B
TypeScript

// 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;
}
}