From 5480269d38ffaff7ffd6576d9a9407430429fb2d Mon Sep 17 00:00:00 2001
From: Jacky Zhao <j.zhao2k19@gmail.com>
Date: Sun, 09 Mar 2025 21:58:26 +0000
Subject: [PATCH] perf(explorer): client side explorer (#1810)
---
index.d.ts | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/index.d.ts b/index.d.ts
index 4a93f16..8e524af 100644
--- a/index.d.ts
+++ b/index.d.ts
@@ -5,7 +5,9 @@
// dom custom event
interface CustomEventMap {
- nav: CustomEvent<{ url: CanonicalSlug }>
+ prenav: CustomEvent<{}>
+ nav: CustomEvent<{ url: FullSlug }>
+ themechange: CustomEvent<{ theme: "light" | "dark" }>
}
declare const fetchData: Promise<ContentIndex>
--
Gitblit v1.10.0