OpenAuth_server/src/express.d.ts
2018-11-06 20:48:50 +01:00

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;
}
}