comicbox/next-auth.d.ts

11 lines
235 B
TypeScript
Raw Permalink Normal View History

2022-07-26 21:18:54 +00:00
import NextAuth, { DefaultSession } from 'next-auth';
2022-07-26 21:02:44 +00:00
2022-07-26 21:18:54 +00:00
declare module 'next-auth' {
interface Session {
user: {
/** The user's internal ID. */
id: string;
} & DefaultSession['user'];
}
2022-07-26 21:02:44 +00:00
}