More types for history, config/interfaces and Request.flash

Signed-off-by: David Mehren <dmehren1@gmail.com>
This commit is contained in:
David Mehren 2020-05-24 17:07:13 +02:00
parent fa301ab450
commit 1f517bfb99
No known key found for this signature in database
GPG key ID: 6017AF117F9756CB
3 changed files with 14 additions and 12 deletions

View file

@ -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;
}
}