Files
web/types/jwt.d.ts
2024-04-18 13:53:49 +02:00

9 lines
260 B
TypeScript

// Module augmentation
// https://authjs.dev/getting-started/typescript#popular-interfaces-to-augment
declare module "next-auth/jwt" {
/** Returned by the `jwt` callback and `auth`, when using JWT sessions */
interface JWT {
access_token: string
}
}