npm

@types/connect-sequence
TypeScript icon, indicating that this package has built-in type declarations

2.1.3 • Public • Published

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.

Readme

Keywords

none

Package Sidebar

Install

npm i @types/connect-sequence

Weekly Downloads

275

Version

2.1.3

License

MIT

Unpacked Size

3.63 kB

Total Files

5

Last publish

Collaborators

  • types