Files
recipe-app/frontend/types/next-auth.d.ts
T

13 lines
246 B
TypeScript

import type { DefaultSession } from 'next-auth';
declare module 'next-auth' {
interface Session {
accessToken: string;
user: {
id: string;
name: string;
role: string;
} & DefaultSession['user'];
}
}