Jacky Zhao
2025-03-24 722b4321db97f284036f2ff6721c6d85d2ed93c5
index.d.ts
@@ -5,7 +5,10 @@
// dom custom event
interface CustomEventMap {
  nav: CustomEvent<{ url: CanonicalSlug }>
  prenav: CustomEvent<{}>
  nav: CustomEvent<{ url: FullSlug }>
  themechange: CustomEvent<{ theme: "light" | "dark" }>
}
type ContentIndex = Record<FullSlug, ContentDetails>
declare const fetchData: Promise<ContentIndex>