From d3d8157f83f2f0cfeb373f457e72166dd8c79f6b Mon Sep 17 00:00:00 2001 From: Miodec Date: Sat, 26 Feb 2022 23:36:07 +0100 Subject: [PATCH] removed any --- frontend/src/scripts/elements/custom-background-filter.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/scripts/elements/custom-background-filter.ts b/frontend/src/scripts/elements/custom-background-filter.ts index b396a9089..9efdd6a3b 100644 --- a/frontend/src/scripts/elements/custom-background-filter.ts +++ b/frontend/src/scripts/elements/custom-background-filter.ts @@ -126,7 +126,7 @@ $(".section.customBackgroundFilter .save.button").click(() => { ConfigEvent.subscribe((eventKey, eventValue) => { if (eventKey === "customBackgroundFilter") { - loadConfig((eventValue as unknown as any[]).map((ev) => parseFloat(ev))); + loadConfig((eventValue as string[]).map((ev) => parseFloat(ev))); apply(); } });