aboutsummaryrefslogtreecommitdiff
path: root/src/js/private.d.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/js/private.d.ts')
-rw-r--r--src/js/private.d.ts3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/js/private.d.ts b/src/js/private.d.ts
index 500048dd7..d59c6aad8 100644
--- a/src/js/private.d.ts
+++ b/src/js/private.d.ts
@@ -7,9 +7,8 @@
declare function $bundleError(error: string);
type BunFSWatchOptions = { encoding?: BufferEncoding; persistent?: boolean; recursive?: boolean; signal?: AbortSignal };
-
type BunWatchEventType = "rename" | "change" | "error" | "close";
-type BunWatchListener<T> = (event: WatchEventType, filename: T | Error | undefined) => void;
+type BunWatchListener<T> = (event: WatchEventType, filename: T | undefined) => void;
interface BunFSWatcher {
/**