ath fixes

This commit is contained in:
DirkSchlossmacher 2023-11-13 13:16:15 +01:00
parent 44a9b01a5e
commit b956656ed9

View File

@ -14,6 +14,8 @@ import { incrementSignInCount, incrementSessionRefreshCount } from './utils/clou
*
* @see https://next-auth.js.org/getting-started/typescript#module-augmentation
*/
declare module "next-auth" {
interface Session extends DefaultSession {
user: {
@ -21,6 +23,7 @@ declare module "next-auth" {
// ...other properties
// role: UserRole;
} & DefaultSession["user"];
error?: string; // Optional property to handle errors
}
// interface User {