Aaron Pham
2025-03-10 aca0c330e70fc4c0aee22560f5fdaac2d7fb41e9
index.d.ts
@@ -1,11 +1,14 @@
declare module '*.scss' {
declare module "*.scss" {
  const content: string
  export = content
}
// dom custom event
interface CustomEventMap {
  "nav": CustomEvent<{ url: string }>;
  prenav: CustomEvent<{}>
  nav: CustomEvent<{ url: FullSlug }>
  themechange: CustomEvent<{ theme: "light" | "dark" }>
}
type ContentIndex = Record<FullSlug, ContentDetails>
declare const fetchData: Promise<ContentIndex>