Installation
npm install --save @types/connect-sequence
Summary
This package contains type definitions for connect-sequence (https://github.com/sirap-group/connect-sequence).
Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/connect-sequence.
index.d.ts
import { NextFunction, Request, RequestHandler, Response } from "express";
declare class ConnectSequence {
constructor(req: Request, res: Response, next: NextFunction);
append(...middleware: RequestHandler[]): this;
appendList(middleware: RequestHandler[]): this;
appendIf(condition: boolean, middleware: RequestHandler): this;
appendListIf(condition: boolean, middleware: RequestHandler[]): this;
run(): void;
}
export = ConnectSequence;
Additional Details
- Last updated: Mon, 06 Nov 2023 22:41:05 GMT
- Dependencies: @types/express
Credits
These definitions were written by Levi Bostian.