typescript serices controllers code example Example: typescript express next middleware type Click to copyimport * as express from 'express' next: express.NextFunction