Jacky Zhao
2025-03-13 b579950ae550df8551bf087e8f017a41b36a726e
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>