Overwrite the default types of AdapterUser

Hey 👋 I'm writign a custom adapter for Next Auth, and it breaks quite a lot of the default behavior, so I'd like to modify the default types provided. For some reason, it's not letting me, any ideas why?
1 Reply
domi?
domi?•2y ago
// next-auth.d.ts

declare module 'next-auth/adapters' {
interface AdapterUser {
newKey: any;
}
}
// next-auth.d.ts

declare module 'next-auth/adapters' {
interface AdapterUser {
newKey: any;
}
}
Want results from more Discord servers?
Add your server