27 lines
391 B
TypeScript
27 lines
391 B
TypeScript
import "next-auth"
|
|
|
|
declare module "next-auth" {
|
|
interface Session {
|
|
user: {
|
|
id: string
|
|
email: string
|
|
name?: string | null
|
|
hasSeenHelp: boolean
|
|
}
|
|
}
|
|
|
|
interface User {
|
|
id: string
|
|
email: string
|
|
name?: string | null
|
|
hasSeenHelp: boolean
|
|
}
|
|
}
|
|
|
|
declare module "next-auth/jwt" {
|
|
interface JWT {
|
|
id: string
|
|
hasSeenHelp: boolean
|
|
}
|
|
}
|