Installation
npm install --save @types/greenlock-express
Summary
This package contains type definitions for greenlock-express (https://git.rootprojects.org/root/greenlock-express.js.git).
Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/greenlock-express.
index.d.ts
import { RequestListener } from "http";
export interface Options {
packageRoot: string;
maintainerEmail: string;
configDir: string;
cluster: boolean;
workers?: number;
}
export interface Serve {
ready: (app?: RequestListener) => Serve;
master: (app?: RequestListener) => Serve;
serve: (app: RequestListener) => void;
}
export function init(o: Options | (() => Options)): Serve;
Additional Details
- Last updated: Tue, 07 Nov 2023 03:09:37 GMT
- Dependencies: none
Credits
These definitions were written by Joseph Hendrix.