diff --git a/src/index.ts b/src/index.ts index 45666552..4fc2ad56 100644 --- a/src/index.ts +++ b/src/index.ts @@ -303,6 +303,8 @@ export interface FSWatcherKnownEventMap { [EV.RAW]: Parameters; [EV.ERROR]: Parameters; [EV.ALL]: [EventName, ...EmitArgs]; + [EV.UNLINK]: [path: string]; + [EV.UNLINK_DIR]: [path: string]; } export type FSWatcherEventMap = FSWatcherKnownEventMap & {