Emile Bangma
2025-07-04 467896413ffb4dff9630c7d31d6d50c1b8ccd1f7
index.d.ts
@@ -5,7 +5,11 @@
// dom custom event
interface CustomEventMap {
  nav: CustomEvent<{ url: CanonicalSlug }>
  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>