more logging stuff
This commit is contained in:
9
backend/types/socket.d.ts
vendored
Normal file
9
backend/types/socket.d.ts
vendored
Normal file
@@ -0,0 +1,9 @@
|
||||
import "socket.io";
|
||||
import type { Session, User } from "better-auth"; // adjust if needed
|
||||
|
||||
declare module "socket.io" {
|
||||
interface Socket {
|
||||
user?: User | any;
|
||||
session?: Session;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user