From 9c042dd7178c32a3c44ba59ad2252d39e877745c Mon Sep 17 00:00:00 2001
From: AshGrey : りす 🐿️ <ashgrey.huaier@gmail.com>
Date: Fri, 19 Dec 2025 19:37:53 +0000
Subject: [PATCH] fix(helpers): correct regex of function escapePath (#2254)

---
 index.d.ts |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/index.d.ts b/index.d.ts
index a6c594f..9011ee3 100644
--- a/index.d.ts
+++ b/index.d.ts
@@ -5,8 +5,11 @@
 
 // dom custom event
 interface CustomEventMap {
+  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