From 4eeacb7fbf0059f47317d813a9077437c75ce2f6 Mon Sep 17 00:00:00 2001
From: Cao Mingjun <me@caomingjun.com>
Date: Mon, 08 Jul 2024 20:34:43 +0000
Subject: [PATCH] Fix Non-English Anchor Popover Positioning Issue and Update Type Hint (#1252)

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

diff --git a/index.d.ts b/index.d.ts
index aec536d..a6c594f 100644
--- a/index.d.ts
+++ b/index.d.ts
@@ -6,6 +6,7 @@
 // dom custom event
 interface CustomEventMap {
   nav: CustomEvent<{ url: FullSlug }>
+  themechange: CustomEvent<{ theme: "light" | "dark" }>
 }
 
 declare const fetchData: Promise<ContentIndex>

--
Gitblit v1.10.0