feat(PersistentStore): add type for PersistentStore

This commit is contained in:
Ilia Mashkov
2026-02-07 11:23:12 +03:00
parent 70f2f82df0
commit 4891cd3bbd
2 changed files with 3 additions and 0 deletions

View File

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

View File

@@ -14,6 +14,7 @@ export {
type Filter,
type FilterModel,
type LineData,
type PersistentStore,
type Property,
type ResponsiveManager,
responsiveManager,