Files
reader-api/types/next-auth.d.ts
T

18 lines
319 B
TypeScript

import NextAuth from "next-auth"
declare module "next-auth" {
interface Session {
user: {
id: string
name?: string | null
email?: string | null
image?: string | null
role: string
}
}
interface User {
role: string
}
}