mirror of
https://github.com/alrayyes/wiki.git
synced 2024-11-29 14:36:22 +00:00
9555407f65
Signed-off-by: Aaron <29749331+aarnphm@users.noreply.github.com>
12 lines
364 B
TypeScript
12 lines
364 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] | UIEvent): void
|
|
}
|
|
interface Window {
|
|
spaNavigate(url: URL, isBack: boolean = false)
|
|
}
|
|
}
|