Added Request type with cookies and session, and fixed stuff that it broke

This commit is contained in:
mrfry 2020-12-16 17:22:15 +01:00
parent 865e97a754
commit 3b902d736f
9 changed files with 117 additions and 95 deletions

View file

@ -46,3 +46,9 @@ export interface User {
avaiblePWRequests: number
loginCount: number
}
export interface Request extends express.Request {
cookies: any
session: any
busboy: any
}