From 9576701d8532b9697df62c96d7c8676afd985b2d Mon Sep 17 00:00:00 2001
From: Andrew G. Dunn <andrew@dunn.dev>
Date: Mon, 02 Mar 2026 16:31:53 +0000
Subject: [PATCH] fix: await micromorph() to prevent race condition with nav event handlers (#2323)

---
 index.d.ts |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/index.d.ts b/index.d.ts
index 07f8082..9011ee3 100644
--- a/index.d.ts
+++ b/index.d.ts
@@ -8,6 +8,7 @@
   prenav: CustomEvent<{}>
   nav: CustomEvent<{ url: FullSlug }>
   themechange: CustomEvent<{ theme: "light" | "dark" }>
+  readermodechange: CustomEvent<{ mode: "on" | "off" }>
 }
 
 type ContentIndex = Record<FullSlug, ContentDetails>

--
Gitblit v1.10.0