mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2025-05-19 09:45:37 -04:00
More types for history, config/interfaces and Request.flash
Signed-off-by: David Mehren <dmehren1@gmail.com>
This commit is contained in:
parent
fa301ab450
commit
1f517bfb99
3 changed files with 14 additions and 12 deletions
2
src/lib/library-ext.d.ts
vendored
2
src/lib/library-ext.d.ts
vendored
|
@ -3,6 +3,6 @@ import { User } from './models'
|
|||
declare module 'express' {
|
||||
export interface Request {
|
||||
user?: User;
|
||||
flash (type: string, msg?: string): any;
|
||||
flash (type: string, msg?: string): [] | object | number;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue