11 lines
229 B
TypeScript
11 lines
229 B
TypeScript
|
import { IUser } from "./models/user";
|
||
|
import { IClient } from "./models/client";
|
||
|
|
||
|
declare module "express" {
|
||
|
interface Request {
|
||
|
user: IUser;
|
||
|
client: IClient;
|
||
|
isAdmin: boolean;
|
||
|
special: boolean;
|
||
|
}
|
||
|
}
|