Change addWatcher listener to return void
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user