Marco Ciotola
2025-11-02 0ecb859d2d826f1813b49e2b63fa37d1e7151a1d
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
declare module "*.scss" {
  const content: string
  export = content
}
 
// dom custom event
interface CustomEventMap {
  prenav: CustomEvent<{}>
  nav: CustomEvent<{ url: FullSlug }>
  themechange: CustomEvent<{ theme: "light" | "dark" }>
  readermodechange: CustomEvent<{ mode: "on" | "off" }>
}
 
type ContentIndex = Record<FullSlug, ContentDetails>
declare const fetchData: Promise<ContentIndex>