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