mirror of
https://github.com/ChatGPTNextWeb/ChatGPT-Next-Web.git
synced 2025-10-08 19:16:37 +08:00
ath fixes
This commit is contained in:
parent
44a9b01a5e
commit
b956656ed9
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user