basic search implementation

This commit is contained in:
Jacky Zhao 2023-06-19 20:37:45 -07:00
parent c4cf0dcb02
commit fd5c8d17d3
26 changed files with 751 additions and 182 deletions

10
globals.d.ts vendored Normal file
View file

@ -0,0 +1,10 @@
export 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;
}
interface Window {
spaNavigate(url: URL, isBack: boolean = false)
}
}