mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2025-04-15 10:05:00 +00:00
Added flash function to Request interface
Signed-off-by: Yannick Bungers <git@innay.de> Signed-off-by: David Mehren <dmehren1@gmail.com>
This commit is contained in:
parent
e4b2acf53e
commit
f628b85c05
1 changed files with 2 additions and 0 deletions
2
lib/library-ext.d.ts
vendored
2
lib/library-ext.d.ts
vendored
|
@ -1,7 +1,9 @@
|
|||
import { User } from './models'
|
||||
|
||||
|
||||
declare module 'express' {
|
||||
export interface Request {
|
||||
user?: User;
|
||||
flash (type: string, msg: string): any;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue