mirror of
https://github.com/logos-co/roadmap.git
synced 2025-01-09 08:02:03 +00:00
13 lines
354 B
TypeScript
13 lines
354 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)
|
|
}
|
|
}
|