From aa85998b9927eec791cacf7bb9a4e40aaddc8be1 Mon Sep 17 00:00:00 2001 From: Zach Cardoza <2280384+bayssmekanique@users.noreply.github.com> Date: Tue, 19 Sep 2017 22:38:36 -0700 Subject: [PATCH] Adds constructor with options --- types/chokidar/index.d.ts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/types/chokidar/index.d.ts b/types/chokidar/index.d.ts index 683214fe35..712340f273 100644 --- a/types/chokidar/index.d.ts +++ b/types/chokidar/index.d.ts @@ -17,6 +17,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