From e77a051144663ea08571e0bfb7aef6f463463f78 Mon Sep 17 00:00:00 2001
From: siaikin <abc1310054026@outlook.com>
Date: Tue, 09 Sep 2025 03:06:28 +0000
Subject: [PATCH] feat(analytics): add support for Vercel Web Analytics provider (#2119)
---
index.d.ts | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/index.d.ts b/index.d.ts
index 8e524af..9011ee3 100644
--- a/index.d.ts
+++ b/index.d.ts
@@ -8,6 +8,8 @@
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