@types/watchpack

  • Version 1.1.7
  • Published
  • 6.11 kB
  • 3 dependencies
  • MIT license

Install

npm i @types/watchpack
yarn add @types/watchpack
pnpm add @types/watchpack

Overview

TypeScript definitions for watchpack

Index

Classes

class Watchpack

class Watchpack extends EventEmitter {}

    constructor

    constructor(options: Watchpack.WatchOptions);

      property aggregatedChanges

      aggregatedChanges: string[];

        property aggregateTimeout

        aggregateTimeout: any;

          property dirWatchers

          dirWatchers: Watcher[];

            property fileWatchers

            fileWatchers: Watcher[];

              property mtimes

              mtimes: { [path: string]: number };

                property options

                options: Watchpack.WatchOptions;

                  property paused

                  paused: boolean;

                    property watcherOptions

                    watcherOptions: Watchpack.WatcherOptions;

                      method close

                      close: () => void;

                        method getTimes

                        getTimes: () => { [path: string]: number };

                          method pause

                          pause: () => void;

                            method watch

                            watch: (files: string[], directories: string[], startTime?: number) => void;

                              Interfaces

                              interface WatcherOptions

                              interface WatcherOptions {}

                                property ignored

                                ignored?: string[] | string | RegExp | ((path: string) => boolean) | undefined;

                                  property poll

                                  poll?: boolean | number | undefined;

                                    interface WatchOptions

                                    interface WatchOptions extends WatcherOptions {}

                                      property aggregateTimeout

                                      aggregateTimeout?: number | undefined;

                                        Package Files (1)

                                        Dependencies (3)

                                        Dev Dependencies (0)

                                        No dev dependencies.

                                        Peer Dependencies (0)

                                        No peer dependencies.

                                        Badge

                                        To add a badge like this onejsDocs.io badgeto your package's README, use the codes available below.

                                        You may also use Shields.io to create a custom badge linking to https://www.jsdocs.io/package/@types/watchpack.

                                        • Markdown
                                          [![jsDocs.io](https://img.shields.io/badge/jsDocs.io-reference-blue)](https://www.jsdocs.io/package/@types/watchpack)
                                        • HTML
                                          <a href="https://www.jsdocs.io/package/@types/watchpack"><img src="https://img.shields.io/badge/jsDocs.io-reference-blue" alt="jsDocs.io"></a>