Open alexey2baranov opened 4 years ago
Hey,
So... those are pretty minimal but they do the job:
import { NextFunction, Request, Response } from 'express'
export declare module 'express-http-context' {
const middleware: (req: Request, res: Response, next: NextFunction) => void
const get: <T>(key: string) => T
const set: <T>(key: string, value: T) => void
}
edit: or here
Pain
.middleware
,.get
and.set