OpenAuth_server/src/express.d.ts

11 lines
229 B
TypeScript
Raw Normal View History

2018-11-06 19:48:50 +00:00
import { IUser } from "./models/user";
import { IClient } from "./models/client";
declare module "express" {
interface Request {
user: IUser;
client: IClient;
isAdmin: boolean;
special: boolean;
}
}