removed any

This commit is contained in:
Miodec 2022-02-26 23:36:07 +01:00
parent e02f1b14d1
commit d3d8157f83

View file

@ -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();
}
});