From 5a39719898fe486994750ec24fa430f332fa67eb Mon Sep 17 00:00:00 2001
From: Aaron Pham <contact@aarnphm.xyz>
Date: Thu, 06 Mar 2025 01:33:16 +0000
Subject: [PATCH] fix(graph): set container as renderGroup to avoid redrawing multiple times (#1736)
---
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