aboutsummaryrefslogtreecommitdiff
path: root/src/stores
diff options
context:
space:
mode:
Diffstat (limited to 'src/stores')
-rw-r--r--src/stores/stateBin.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/stores/stateBin.ts b/src/stores/stateBin.ts
index 6f46593c..f724860a 100644
--- a/src/stores/stateBin.ts
+++ b/src/stores/stateBin.ts
@@ -27,7 +27,7 @@ if (browser) {
const createProxyStore = (store: Writable<StateBin>) => {
return new Proxy(store, {
get(target, prop: string) {
- if (prop in target) return (target as any)[prop];
+ if (prop in target) return (target as unknown as Record<string, unknown>)[prop];
const derivedKey = writable(get(store)[prop]);