Initial commit

This commit is contained in:
2024-06-03 16:32:04 -07:00
committed by GitHub
commit 22d9a7e84e
232 changed files with 22758 additions and 0 deletions

13
globals.d.ts vendored Normal file
View File

@ -0,0 +1,13 @@
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] | UIEvent): void
}
interface Window {
spaNavigate(url: URL, isBack: boolean = false)
addCleanup(fn: (...args: any[]) => void)
}
}