FPSMS-frontend
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

15 line
320 B

  1. // types/next-auth.d.ts
  2. import NextAuth from "next-auth";
  3. declare module "next-auth" {
  4. interface Session {
  5. user?: {
  6. name?: string | null;
  7. email?: string | null;
  8. image?: string | null;
  9. abilities?: string[] | null; // <-- Add your custom fields here
  10. };
  11. expires: ISODateString;
  12. }
  13. }