From 9b8e0c9d1aa5857db3d27bfae229c03b2c8a8b59 Mon Sep 17 00:00:00 2001
From: Jacky Zhao <j.zhao2k19@gmail.com>
Date: Fri, 02 Feb 2024 07:55:11 +0000
Subject: [PATCH] chore(cleanup): misc refactoring for cleanup, fix some search bugs
---
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