local and global graph

This commit is contained in:
Jacky Zhao
2023-06-18 10:47:07 -07:00
parent 659cbc4743
commit a622d97e19
23 changed files with 1288 additions and 110 deletions

8
index.d.ts vendored
View File

@ -8,10 +8,4 @@ interface CustomEventMap {
"nav": CustomEvent<{ url: string }>;
}
declare global {
interface Document {
addEventListener<K extends keyof CustomEventMap>(type: K,
listener: (this: Document, ev: CustomEventMap[K]) => void): void;
dispatchEvent<K extends keyof CustomEventMap>(ev: CustomEventMap[K]): void;
}
}
declare const fetchData: Promise<ContentIndex>