2023-06-20 03:37:45 +00:00
|
|
|
export declare global {
|
|
|
|
interface Document {
|
2023-07-23 00:27:41 +00:00
|
|
|
addEventListener<K extends keyof CustomEventMap>(
|
|
|
|
type: K,
|
|
|
|
listener: (this: Document, ev: CustomEventMap[K]) => void,
|
|
|
|
): void
|
2024-01-30 00:26:47 +00:00
|
|
|
dispatchEvent<K extends keyof CustomEventMap>(ev: CustomEventMap[K] | UIEvent): void
|
2023-06-20 03:37:45 +00:00
|
|
|
}
|
|
|
|
interface Window {
|
|
|
|
spaNavigate(url: URL, isBack: boolean = false)
|
|
|
|
}
|
|
|
|
}
|