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