FishCat233
2025-10-16 52460f376f79cd4640b8ed8a1343acaf02bf90aa
index.d.ts
@@ -1,11 +1,15 @@
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" }>
  readermodechange: CustomEvent<{ mode: "on" | "off" }>
}
type ContentIndex = Record<FullSlug, ContentDetails>
declare const fetchData: Promise<ContentIndex>