feat(PersistentStore): add type for PersistentStore

This commit is contained in:
Ilia Mashkov committed 2026-02-07 11:23:12 +03:00
1 parent 70f2f82df0
commit 4891cd3bbd
2 files changed
+3

No files matched your search

@@ -49,3 +49,5 @@ export function createPersistentStore<T>(key: string, defaultValue: T) {
},
};
}
export type PersistentStore<T> = ReturnType<typeof createPersistentStore<T>>;