0.2.6 • Published 3 months ago
@types/hpp v0.2.6
Installation
npm install --save @types/hpp
Summary
This package contains type definitions for hpp (https://github.com/analog-nico/hpp).
Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/hpp.
index.d.ts
// Type definitions for hpp 0.2
// Project: https://github.com/analog-nico/hpp
// Definitions by: Michael Strobel <https://github.com/kryops>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 2.3
import * as express from 'express';
declare namespace hpp {
interface Options {
checkBody?: boolean | undefined;
checkBodyOnlyForContentType?: string | undefined;
checkQuery?: boolean | undefined;
whitelist?: string | string[] | undefined;
}
}
declare function hpp(options?: hpp.Options): express.RequestHandler;
export = hpp;
Additional Details
- Last updated: Thu, 08 Jul 2021 14:22:54 GMT
- Dependencies: @types/express
- Global values: none
Credits
These definitions were written by Michael Strobel.