Installation
npm install --save @types/live-server
Summary
This package contains type definitions for live-server (https://github.com/tapio/live-server#readme).
Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/live-server.
export interface LiveServerParams {
port?: number | undefined;
host?: string | undefined;
root?: string | undefined;
open?: boolean | undefined;
ignore?: string | undefined;
file?: string | undefined;
wait?: number | undefined;
mount?: string[][] | undefined;
logLevel?: 0 | 1 | 2 | undefined;
middleware?: Array<(req: any, res: any, next: any) => void> | undefined;
}
export function start(params: LiveServerParams): void;
export function shutdown(): void;
Additional Details
- Last updated: Tue, 07 Nov 2023 09:09:38 GMT
- Dependencies: none
Credits
These definitions were written by Josh Cummings.