mirror of
https://github.com/alrayyes/wiki.git
synced 2024-11-25 13:06:22 +00:00
11 lines
343 B
TypeScript
11 lines
343 B
TypeScript
|
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)
|
||
|
}
|
||
|
}
|