kgroad-frontend2/lib/next-auth.d.ts
2024-02-02 17:35:09 +06:00

19 lines
311 B
TypeScript

import NextAuth from "next-auth";
declare module "next-auth" {
interface Session {
refresh_token: string;
access_token: string;
}
}
import { JWT } from "next-auth/jwt";
declare module "next-auth/jwt" {
interface JWT {
refresh_token: string;
access_token: string;
exp: number;
}
}