mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2025-02-06 03:31:47 +00:00
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>
This commit is contained in:
parent
f550c5b1b2
commit
069fa028c6
1 changed files with 7 additions and 0 deletions
7
lib/library-ext.d.ts
vendored
Normal file
7
lib/library-ext.d.ts
vendored
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
import { User } from './models'
|
||||||
|
|
||||||
|
declare module 'express' {
|
||||||
|
export interface Request {
|
||||||
|
user?: User;
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in a new issue