fix: ts build issue
This commit is contained in:
parent
ba7d6dd087
commit
05ecf0826e
@ -38,6 +38,6 @@ function serialize(data: object): string {
|
|||||||
return btoa(encodeURIComponent(JSON.stringify(data)))
|
return btoa(encodeURIComponent(JSON.stringify(data)))
|
||||||
}
|
}
|
||||||
|
|
||||||
function deserialize(b64: string): string {
|
function deserialize(b64: string): object {
|
||||||
return JSON.parse(decodeURIComponent(atob(b64)))
|
return JSON.parse(decodeURIComponent(atob(b64)))
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user