Created the index.d.ts override

This commit is contained in:
Mathias committed 2023-01-15 20:34:19 +01:00
1 parent da39af1888
commit 65ccf40ae7
1 file changed
+11
+11
View File
@@ -0,0 +1,11 @@
import { IAccount } from "@models/Account";
import { ISession } from "@models/Session";
declare global {
namespace Express {
interface Request {
session?: ISession,
user?: IAccount
}
}
}