Created the index.d.ts override

This commit is contained in:
2023-01-15 20:34:19 +01:00
parent da39af1888
commit 65ccf40ae7

11
src/types/overrides/index.d.ts vendored Normal file
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
}
}
}