npm.io
1.1.3 • Published 2 years ago

@types/webpack-watch-files-plugin

Licence
MIT
Version
1.1.3
Deps
3
Size
4 kB
Vulns
0
Weekly
0
Stars
51.4K

Installation

npm install --save @types/webpack-watch-files-plugin

Summary

This package contains type definitions for webpack-watch-files-plugin (https://github.com/Fridus/webpack-watch-files-plugin).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/webpack-watch-files-plugin.

index.d.ts

/// <reference types="node" />
import { Compiler } from "webpack";

interface Options {
    /**
     * Array of patterns.
     * @default []
     */
    files?: readonly string[];
    /**
     * List files found.
     * @default false
     */
    verbose?: boolean;
}

declare class WebpackWatchFilesPlugin {
    constructor(options?: Options);

    apply(compiler: Compiler): void;
}

export = WebpackWatchFilesPlugin;

Additional Details

Credits

These definitions were written by Ben Grynhaus.