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 |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diff --git a/index.d.ts b/index.d.ts
index 4a93f16..9011ee3 100644
--- a/index.d.ts
+++ b/index.d.ts
@@ -5,7 +5,11 @@
 
 // dom custom event
 interface CustomEventMap {
-  nav: CustomEvent<{ url: CanonicalSlug }>
+  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