0.6.3 • Published 6 months ago
@types/connect-livereload v0.6.3
Installation
npm install --save @types/connect-livereload
Summary
This package contains type definitions for connect-livereload (https://github.com/intesso/connect-livereload).
Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/connect-livereload.
index.d.ts
// Type definitions for connect-livereload 0.6
// Project: https://github.com/intesso/connect-livereload
// Definitions by: Maxime LUCE <https://github.com/SomaticIT>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
import { HandleFunction } from "connect";
declare function livereload(): HandleFunction;
declare function livereload(options: livereload.Options): HandleFunction;
declare namespace livereload {
export type FileMatcher = string | RegExp;
export interface Rule {
match: RegExp;
fn: (w: string, s: string) => string;
}
export interface Options {
ignore?: FileMatcher[] | undefined;
excludeList?: FileMatcher[] | undefined;
include?: FileMatcher[] | undefined;
html?: ((val: string) => boolean) | undefined;
rules?: Rule[] | undefined;
disableCompression?: boolean | undefined;
hostname?: string | undefined;
port?: number | undefined;
src?: string | undefined;
plugins?: string[] | undefined;
}
}
export = livereload;
Additional Details
- Last updated: Wed, 20 Oct 2021 16:31:23 GMT
- Dependencies: @types/connect
- Global values: none
Credits
These definitions were written by Maxime LUCE.
0.6.3
6 months ago
0.6.2
6 months ago
0.6.1
8 months ago
0.6.0
3 years ago
0.5.32
3 years ago
0.5.31
7 years ago
0.5.30
8 years ago
0.5.29
8 years ago
0.5.28-alpha
8 years ago
0.5.27-alpha
8 years ago
0.5.26-alpha
8 years ago
0.5.25-alpha
8 years ago
0.5.24-alpha
8 years ago
0.5.23-alpha
8 years ago
0.5.22-alpha
8 years ago
0.5.17-alpha
8 years ago
0.5.16-alpha
8 years ago