From 9c042dd7178c32a3c44ba59ad2252d39e877745c Mon Sep 17 00:00:00 2001
From: AshGrey : りす 🐿️ <ashgrey.huaier@gmail.com>
Date: Fri, 19 Dec 2025 19:37:53 +0000
Subject: [PATCH] fix(helpers): correct regex of function escapePath (#2254)
---
globals.d.ts | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/globals.d.ts b/globals.d.ts
index 0509f26..6cf30f8 100644
--- a/globals.d.ts
+++ b/globals.d.ts
@@ -4,9 +4,14 @@
type: K,
listener: (this: Document, ev: CustomEventMap[K]) => void,
): void
+ removeEventListener<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)
+ addCleanup(fn: (...args: any[]) => void)
}
}
--
Gitblit v1.10.0