From 4923affa7722dfc751f1074348e6dad214fe0c08 Mon Sep 17 00:00:00 2001
From: Emile Bangma <github@emilebangma.com>
Date: Sun, 21 Sep 2025 17:14:03 +0000
Subject: [PATCH] fix(callouts)!: match callout DOM to Obsidian (#2104)
---
index.d.ts | 8 ++++++--
1 files changed, 6 insertions(+), 2 deletions(-)
diff --git a/index.d.ts b/index.d.ts
index 3b3acfc..9011ee3 100644
--- a/index.d.ts
+++ b/index.d.ts
@@ -1,11 +1,15 @@
-declare module '*.scss' {
+declare module "*.scss" {
const content: string
export = content
}
// dom custom event
interface CustomEventMap {
- "nav": CustomEvent<{ url: string }>;
+ prenav: CustomEvent<{}>
+ nav: CustomEvent<{ url: FullSlug }>
+ themechange: CustomEvent<{ theme: "light" | "dark" }>
+ readermodechange: CustomEvent<{ mode: "on" | "off" }>
}
+type ContentIndex = Record<FullSlug, ContentDetails>
declare const fetchData: Promise<ContentIndex>
--
Gitblit v1.10.0