summaryrefslogtreecommitdiff
path: root/js/url.ts
diff options
context:
space:
mode:
Diffstat (limited to 'js/url.ts')
-rw-r--r--js/url.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/url.ts b/js/url.ts
index 235498c40..3898c7cef 100644
--- a/js/url.ts
+++ b/js/url.ts
@@ -73,7 +73,7 @@ export class URL {
for (const methodName of searchParamsMethods) {
// eslint-disable-next-line @typescript-eslint/no-explicit-any
const method: (...args: any[]) => any = searchParams[methodName];
- searchParams[methodName] = (...args: unknown[]) => {
+ searchParams[methodName] = (...args: unknown[]): void => {
method.apply(searchParams, args);
this.search = searchParams.toString();
};