songs2vid/types/next-auth.d.ts

21 lines
340 B
TypeScript
Raw Permalink Normal View History

import "next-auth";
declare module "next-auth" {
interface Session {
user: {
id?: string;
name?: string | null;
email?: string | null;
image?: string | null;
youtubeConnected?: boolean;
channelTitle?: string;
};
}
}
declare module "next-auth/jwt" {
interface JWT {
id?: string;
}
}