PeerTube/server/types/express-handler.ts

4 lines
166 B
TypeScript
Raw Normal View History

2021-02-03 09:33:05 +01:00
import { NextFunction, Request, Response } from 'express'
export type ExpressPromiseHandler = (req: Request<any>, res: Response, next: NextFunction) => Promise<any>