3.0.0 • Published 2 years ago
@types/express-request-id v3.0.0
Installation
npm install --save @types/express-request-id
Summary
This package contains type definitions for express-request-id (https://github.com/floatdrop/express-request-id).
Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/express-request-id.
index.d.ts
// Type definitions for express-request-id 1.4
// Project: https://github.com/floatdrop/express-request-id
// Definitions by: jgeth <https://github.com/jgeth>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 2.3
import { RequestHandler } from 'express-serve-static-core';
declare namespace expressRequestId {
interface Options {
uuidVersion?: string | undefined;
setHeader?: boolean | undefined;
headerName?: string | undefined;
attributeName?: string | undefined;
msecs?: Date;
nsecs?: number;
clockseq?: number;
node?: number[];
}
}
declare function expressRequestId(options?: expressRequestId.Options): RequestHandler;
export = expressRequestId;
Additional Details
- Last updated: Thu, 16 Sep 2021 23:01:22 GMT
- Dependencies: @types/express-serve-static-core
- Global values: none
Credits
These definitions were written by jgeth.