diff --git a/types/chokidar/index.d.ts b/types/chokidar/index.d.ts index 683214fe35..229ffb556f 100644 --- a/types/chokidar/index.d.ts +++ b/types/chokidar/index.d.ts @@ -1,6 +1,8 @@ -// Type definitions for chokidar 1.7.0 +// Type definitions for chokidar 1.7.1 // Project: https://github.com/paulmillr/chokidar -// Definitions by: Stefan Steinhart , Felix Becker +// Definitions by: Stefan Steinhart +// Felix Becker +// Zach Cardoza // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped /// @@ -18,6 +20,11 @@ export interface WatchedPaths { export class FSWatcher extends EventEmitter implements fs.FSWatcher { + /** + * Constructs a new FSWatcher instance with optional WatchOptions parameter. + */ + constructor(options?: WatchOptions); + /** * Add files, directories, or glob patterns for tracking. Takes an array of strings or just one * string.