summaryrefslogtreecommitdiff
path: root/backend/src/types/express.d.ts
diff options
context:
space:
mode:
authorArne Rief <riearn@proton.me>2025-12-22 12:28:33 +0100
committerArne Rief <riearn@proton.me>2025-12-22 12:29:13 +0100
commit3818739c5901cc3f1d4596b24cfe1b827a2eca23 (patch)
tree18e0c755386e6598f1cfe4193866b0b62a8f368d /backend/src/types/express.d.ts
parent237f8ae6c29bbf485c312b2fed4d5ab4f99a4eff (diff)
FE Sidebar, create & move requests, BE create controller
Diffstat (limited to 'backend/src/types/express.d.ts')
-rw-r--r--backend/src/types/express.d.ts6
1 files changed, 6 insertions, 0 deletions
diff --git a/backend/src/types/express.d.ts b/backend/src/types/express.d.ts
index 7ac6ca0..266a9f9 100644
--- a/backend/src/types/express.d.ts
+++ b/backend/src/types/express.d.ts
@@ -1,7 +1,12 @@
import type { AuthorizedUser } from "./user.js";
+import { Server } from "socket.io";
declare global {
namespace Express {
+ interface Application {
+ io: Server;
+ }
+
interface Request {
user?: AuthorizedUser;
}
@@ -9,3 +14,4 @@ declare global {
}
export {};
+