From c03ade8c2442142a7c3bfdfdd0c2da19214b2e32 Mon Sep 17 00:00:00 2001 From: Toil <62353659+ilyhalight@users.noreply.github.com> Date: Sat, 28 Dec 2024 14:57:35 +0300 Subject: [PATCH] fix: added missed types --- src/utils/storage.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils/storage.ts b/src/utils/storage.ts index 2ecb44d2..d3613820 100644 --- a/src/utils/storage.ts +++ b/src/utils/storage.ts @@ -5,7 +5,7 @@ export async function convertData( option: string, oldValue: unknown, newValue: string | number | boolean, - optionValue: string | undefined = undefined, + optionValue: string | number | boolean | undefined = undefined, ) { const optionVal = optionValue ?? data[option]; if (optionVal !== oldValue) {