@types/express-routes-versioning
TypeScript icon, indicating that this package has built-in type declarations

1.0.4 • Public • Published

Installation

npm install --save @types/express-routes-versioning

Summary

This package contains type definitions for express-routes-versioning (https://github.com/Prasanna-sr/express-routes-versioning).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/express-routes-versioning.

index.d.ts

import { Handler } from "express";

declare namespace routesVersioning {
    interface VersionOptions {
        [versionKey: string]: Handler;
    }

    type RoutesVersioningMiddleware = (args: VersionOptions, notFoundMiddleware?: Handler) => Handler;
}

declare function routesVersioning(): routesVersioning.RoutesVersioningMiddleware;

export = routesVersioning;

Additional Details

  • Last updated: Tue, 07 Nov 2023 03:09:37 GMT
  • Dependencies: @types/express

Credits

These definitions were written by Rogelio Negrete.

Versions

Current Tags

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.0.4
    96
  • 1.0.3
    0
  • 1.0.2
    0
  • 1.0.1
    205
  • 1.0.0
    0

Package Sidebar

Install

npm i @types/express-routes-versioning

Weekly Downloads

301

Version

1.0.4

License

MIT

Unpacked Size

3.5 kB

Total Files

5

Last publish

Collaborators

  • types