From 3faf2ff6f57cd17289f777e2a823ca79c00cb43f Mon Sep 17 00:00:00 2001
From: John Bowdre <61015723+jbowdre@users.noreply.github.com>
Date: Tue, 18 Jun 2024 20:38:45 +0000
Subject: [PATCH] feat(analytics): Cabin analytics support (#1221)
---
index.d.ts | 12 ++++++++++--
1 files changed, 10 insertions(+), 2 deletions(-)
diff --git a/index.d.ts b/index.d.ts
index a74b5f5..a6c594f 100644
--- a/index.d.ts
+++ b/index.d.ts
@@ -1,4 +1,12 @@
-declare module '*.scss' {
- const content: string
+declare module "*.scss" {
+ const content: string
export = content
}
+
+// dom custom event
+interface CustomEventMap {
+ nav: CustomEvent<{ url: FullSlug }>
+ themechange: CustomEvent<{ theme: "light" | "dark" }>
+}
+
+declare const fetchData: Promise<ContentIndex>
--
Gitblit v1.10.0