From 61c2fa61d96857f4ee78fb48a6094e10dd1d9e3f Mon Sep 17 00:00:00 2001 From: Alan Agius Date: Mon, 26 Feb 2018 20:53:18 +0100 Subject: [PATCH] fix: `awaitWriteFinish` can also be a `boolean` (#23818) https://www.npmjs.com/package/chokidar --- types/chokidar/index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types/chokidar/index.d.ts b/types/chokidar/index.d.ts index 396ad10e0a..6acc9af265 100644 --- a/types/chokidar/index.d.ts +++ b/types/chokidar/index.d.ts @@ -149,7 +149,7 @@ export interface WatchOptions { /** * can be set to an object in order to adjust timing params: */ - awaitWriteFinish?: AwaitWriteFinishOptions; + awaitWriteFinish?: AwaitWriteFinishOptions | boolean; } export interface AwaitWriteFinishOptions {