* @param {string[] | (() => string[])} files * @param {(changedFiles: string[], watcher: import('chokidar').FSWatcher, platforms: object) => void | Promise } onChange
(files, onChange)
| 18 | * @param {(changedFiles: string[], watcher: import('chokidar').FSWatcher, platforms: object) => void | Promise<void>} onChange |
| 19 | */ |
| 20 | addWatcher(files, onChange) { |
| 21 | this._watchFiles = files; |
| 22 | this._onChange = onChange; |
| 23 | return this; |
| 24 | } |
| 25 | |
| 26 | /** |
| 27 | * @param {() => void | Promise<void>} fn |
no outgoing calls
no test coverage detected