index.d.ts @@ -10,4 +10,5 @@ themechange: CustomEvent<{ theme: "light" | "dark" }> } type ContentIndex = Record<FullSlug, ContentDetails> declare const fetchData: Promise<ContentIndex>