mirror of
https://github.com/gnmyt/LicenseAPI.git
synced 2026-01-11 10:41:46 +00:00
Created type overrides
This commit is contained in:
11
src/types/overrides/index.d.ts
vendored
Normal file
11
src/types/overrides/index.d.ts
vendored
Normal 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
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user