site/index.d.ts

13 lines
263 B
TypeScript
Raw Normal View History

2024-04-05 00:03:11 +00:00
declare module "*.scss" {
const content: string
export = content
}
// dom custom event
interface CustomEventMap {
nav: CustomEvent<{ url: FullSlug }>
themechange: CustomEvent<{ theme: "light" | "dark" }>
}
declare const fetchData: Promise<ContentIndex>