From ecb3d92941b7cae7ce222e2247c18918366207e4 Mon Sep 17 00:00:00 2001
From: Giuseppe Alfieri <150775639+giusalfieri@users.noreply.github.com>
Date: Sun, 07 Sep 2025 18:58:47 +0000
Subject: [PATCH] Fix: normalize chokidar paths for hot reload on Windows (#2120)
---
index.d.ts | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/index.d.ts b/index.d.ts
index 8e524af..9011ee3 100644
--- a/index.d.ts
+++ b/index.d.ts
@@ -8,6 +8,8 @@
prenav: CustomEvent<{}>
nav: CustomEvent<{ url: FullSlug }>
themechange: CustomEvent<{ theme: "light" | "dark" }>
+ readermodechange: CustomEvent<{ mode: "on" | "off" }>
}
+type ContentIndex = Record<FullSlug, ContentDetails>
declare const fetchData: Promise<ContentIndex>
--
Gitblit v1.10.0