quartz-research-note/index.d.ts

13 lines
263 B
TypeScript
Raw Normal View History

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