From 05ecf0826e58617a0ad249317349dcae2d8d856a Mon Sep 17 00:00:00 2001 From: "Aidar Shaikhutdin @makeweb.space" Date: Fri, 19 May 2023 14:22:25 +0600 Subject: [PATCH] fix: ts build issue --- src/store/storageHelper.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/store/storageHelper.ts b/src/store/storageHelper.ts index 767cf3c..357815e 100644 --- a/src/store/storageHelper.ts +++ b/src/store/storageHelper.ts @@ -38,6 +38,6 @@ function serialize(data: object): string { return btoa(encodeURIComponent(JSON.stringify(data))) } -function deserialize(b64: string): string { +function deserialize(b64: string): object { return JSON.parse(decodeURIComponent(atob(b64))) }