npm install --save @types/express-enforces-ssl
This package contains type definitions for express-enforces-ssl (https://github.com/aredo/express-enforces-ssl).
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/express-enforces-ssl.
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;
- Last updated: Tue, 07 Nov 2023 03:09:36 GMT
- Dependencies: @types/express
These definitions were written by Kevin Stubbs.