quartz/index.d.ts

13 lines
263 B
TypeScript
Raw Normal View History

2023-07-23 03:27:41 +03:00
declare module "*.scss" {
2023-06-17 05:41:59 +03:00
const content: string
2023-06-02 00:35:31 +03:00
export = content
}
2023-06-17 05:41:59 +03:00
// dom custom event
interface CustomEventMap {
nav: CustomEvent<{ url: FullSlug }>
themechange: CustomEvent<{ theme: "light" | "dark" }>
2023-06-17 05:41:59 +03:00
}
2023-06-18 20:47:07 +03:00
declare const fetchData: Promise<ContentIndex>