Files
Code-Notes/index.d.ts
Oyasumi Gitea 4a5acab07d
All checks were successful
Build and Deploy Quartz / build-and-deploy (push) Has been skipped
init: init commit
2026-01-01 14:16:34 +08:00

16 lines
398 B
TypeScript

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>