From 1cd8e7f0d510b97dfc2c3314c36d957383162a8f Mon Sep 17 00:00:00 2001
From: Jacky Zhao <j.zhao2k19@gmail.com>
Date: Sun, 09 Mar 2025 22:06:36 +0000
Subject: [PATCH] feat: support non-singleton table of contents

---
 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