PeerTube/server/types/express.ts

4 lines
166 B
TypeScript
Raw Normal View History

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