9 lines
260 B
TypeScript
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
|
|
}
|
|
}
|