From 6ea359e55ee6333f27b0a8d59caebdb17b9acbf0 Mon Sep 17 00:00:00 2001
From: Jacky Zhao <j.zhao2k19@gmail.com>
Date: Sun, 15 Sep 2024 23:42:07 +0000
Subject: [PATCH] perf: have more than 1ms granularity for rebuild detection
---
index.d.ts | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/index.d.ts b/index.d.ts
index b98a5be..a6c594f 100644
--- a/index.d.ts
+++ b/index.d.ts
@@ -1,11 +1,12 @@
-declare module '*.scss' {
+declare module "*.scss" {
const content: string
export = content
}
// dom custom event
interface CustomEventMap {
- "nav": CustomEvent<{ url: CanonicalSlug }>;
+ nav: CustomEvent<{ url: FullSlug }>
+ themechange: CustomEvent<{ theme: "light" | "dark" }>
}
declare const fetchData: Promise<ContentIndex>
--
Gitblit v1.10.0