From 29a2f13171e4e1036ecdb47bc134cd9c7e3c22de Mon Sep 17 00:00:00 2001 From: Ben Polinsky Date: Fri, 2 Feb 2024 15:31:21 -0500 Subject: [PATCH] fix formatting --- types/index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types/index.d.ts b/types/index.d.ts index d1194032..45580663 100644 --- a/types/index.d.ts +++ b/types/index.d.ts @@ -60,7 +60,7 @@ export class FSWatcher extends EventEmitter implements fs.FSWatcher { */ on(event: 'ready', listener: () => void): this; - on(event: 'unlink' | 'unlinkDir', listener: (path: string) => void): this; + on(event: 'unlink'|'unlinkDir', listener: (path: string) => void): this; on(event: string, listener: (...args: any[]) => void): this;