Change addWatcher listener to return void

This commit is contained in:
Robert
2024-02-07 14:50:00 +00:00
parent c906e76214
commit 1004f16b10

View File

@@ -20,7 +20,7 @@ class WatcherCollection extends DisposableObject {
*/
public addWatcher(
pattern: GlobPattern,
listener: (e: Uri) => any,
listener: (e: Uri) => void,
thisArgs: any,
): void {
const watcher = workspace.createFileSystemWatcher(pattern);