mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2025-02-20 07:21:40 +00:00
Fix typings for connect-flash.
The `msg` argument is optional. Signed-off-by: David Mehren <dmehren1@gmail.com>
This commit is contained in:
parent
dcdbd3bf35
commit
394abe7cf8
1 changed files with 1 additions and 1 deletions
2
lib/library-ext.d.ts
vendored
2
lib/library-ext.d.ts
vendored
|
@ -4,6 +4,6 @@ import { User } from './models'
|
|||
declare module 'express' {
|
||||
export interface Request {
|
||||
user?: User;
|
||||
flash (type: string, msg: string): any;
|
||||
flash (type: string, msg?: string): any;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue