Installation
npm install --save @types/express-enforces-ssl
Summary
This package contains type definitions for express-enforces-ssl (https://github.com/aredo/express-enforces-ssl).
Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/express-enforces-ssl.
index.d.ts
import { NextFunction, Request, Response } from "express";
/**
* Enforces HTTPS connections on any incoming requests.
*/
declare function enforceHTTPS(): (req: Request, res: Response, next: NextFunction) => void;
export = enforceHTTPS;
Additional Details
- Last updated: Tue, 07 Nov 2023 03:09:36 GMT
- Dependencies: @types/express
Credits
These definitions were written by Kevin Stubbs.