mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
13 lines
276 B
TypeScript
13 lines
276 B
TypeScript
import * as expressRequestId from 'express-request-id';
|
|
|
|
const options: expressRequestId.Options = {
|
|
uuidVersion: 'v4',
|
|
setHeader: false,
|
|
headerName: 'X-Request-Id',
|
|
attributeName: 'id',
|
|
};
|
|
|
|
expressRequestId();
|
|
expressRequestId({});
|
|
expressRequestId(options);
|