From 9bdb95c9e34cef640534e5e5a1e2225a80442000 Mon Sep 17 00:00:00 2001 From: HelenHuang <LinHuang@pollex.com.tw> Date: 星期四, 09 六月 2022 15:48:15 +0800 Subject: [PATCH] TODO#139894 [ footer -最下方說明與保經代合作 ] 文案修改 --- PAMapp/node_modules/chokidar/types/index.d.ts | 7 ++++--- 1 files changed, 4 insertions(+), 3 deletions(-) diff --git a/PAMapp/node_modules/chokidar/types/index.d.ts b/PAMapp/node_modules/chokidar/types/index.d.ts index af0b558..aab8e33 100644 --- a/PAMapp/node_modules/chokidar/types/index.d.ts +++ b/PAMapp/node_modules/chokidar/types/index.d.ts @@ -4,6 +4,7 @@ import * as fs from "fs"; import { EventEmitter } from "events"; +import { Matcher } from 'anymatch'; export class FSWatcher extends EventEmitter implements fs.FSWatcher { options: WatchOptions; @@ -17,13 +18,13 @@ * Add files, directories, or glob patterns for tracking. Takes an array of strings or just one * string. */ - add(paths: string | ReadonlyArray<string>): void; + add(paths: string | ReadonlyArray<string>): this; /** * Stop watching files, directories, or glob patterns. Takes an array of strings or just one * string. */ - unwatch(paths: string | ReadonlyArray<string>): void; + unwatch(paths: string | ReadonlyArray<string>): this; /** * Returns an object representing all the paths on the file system being watched by this @@ -79,7 +80,7 @@ * (the path), second time with two arguments (the path and the * [`fs.Stats`](https://nodejs.org/api/fs.html#fs_class_fs_stats) object of that path). */ - ignored?: any; + ignored?: Matcher; /** * If set to `false` then `add`/`addDir` events are also emitted for matching paths while -- Gitblit v1.8.0