1.2.6 • Published 6 months ago

@types/express-correlation-id v1.2.6

Weekly downloads
1,724
License
MIT
Repository
github
Last release
6 months ago

Installation

npm install --save @types/express-correlation-id

Summary

This package contains type definitions for express-correlation-id (https://github.com/toboid/express-correlation-id#readme).

Details

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

index.d.ts

// Type definitions for express-correlation-id 1.2
// Project: https://github.com/toboid/express-correlation-id#readme
// Definitions by: DefinitelyTyped <https://github.com/DefinitelyTyped>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 2.3

import { RequestHandler } from "express-serve-static-core";

declare const correlator: {
    (options?: { header?: string | undefined }): RequestHandler;
    getId(): string | undefined;
};

export = correlator;

Additional Details

Credits

These definitions were written by DefinitelyTyped.