From 832ceaf28daa7f94150b7867a924a9ae85d13a41 Mon Sep 17 00:00:00 2001 From: Nano Miratus Date: Mon, 27 Dec 2021 18:00:44 +0200 Subject: [PATCH] fix: add "other" type to FileAction (#154) Co-authored-by: Suzu Tomo --- src/watcher.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/watcher.ts b/src/watcher.ts index 2d65fa7..15a4ff4 100644 --- a/src/watcher.ts +++ b/src/watcher.ts @@ -6,7 +6,7 @@ const logger = log.create("path"); /** Represents a change in the filesystem. * Should reflect the Deno.FsEvent. */ -type FileAction = "any" | "access" | "create" | "modify" | "remove"; +type FileAction = "any" | "access" | "create" | "modify" | "remove" | "other"; /** A file that was changed, created or removed */ export interface FileEvent {