hedgedoc/lib/library-ext.d.ts
Philip Molares 069fa028c6
made express.user of type User form models/user.ts
Signed-off-by: Philip Molares <philip.molares@udo.edu>
Signed-off-by: David Mehren <dmehren1@gmail.com>
2020-04-25 16:04:12 +02:00

7 lines
112 B
TypeScript

import { User } from './models'
declare module 'express' {
export interface Request {
user?: User;
}
}