mirror of
https://github.com/gnmyt/LicenseAPI.git
synced 2026-01-09 17:51:47 +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