From ab9da02c60c962128820e6874e6f07c98bc3dda7 Mon Sep 17 00:00:00 2001
From: Jacky Zhao <j.zhao2k19@gmail.com>
Date: Tue, 04 Jul 2023 17:08:32 +0000
Subject: [PATCH] fix indexing causing main thread freeze, various polish
---
index.d.ts | 9 ++++++++-
1 files changed, 8 insertions(+), 1 deletions(-)
diff --git a/index.d.ts b/index.d.ts
index a74b5f5..3b3acfc 100644
--- a/index.d.ts
+++ b/index.d.ts
@@ -1,4 +1,11 @@
declare module '*.scss' {
- const content: string
+ const content: string
export = content
}
+
+// dom custom event
+interface CustomEventMap {
+ "nav": CustomEvent<{ url: string }>;
+}
+
+declare const fetchData: Promise<ContentIndex>
--
Gitblit v1.10.0