diff --git a/src/shared/lib/helpers/createPersistentStore/createPersistentStore.svelte.ts b/src/shared/lib/helpers/createPersistentStore/createPersistentStore.svelte.ts index cfb37ad..761998b 100644 --- a/src/shared/lib/helpers/createPersistentStore/createPersistentStore.svelte.ts +++ b/src/shared/lib/helpers/createPersistentStore/createPersistentStore.svelte.ts @@ -49,3 +49,5 @@ export function createPersistentStore(key: string, defaultValue: T) { }, }; } + +export type PersistentStore = ReturnType>; diff --git a/src/shared/lib/index.ts b/src/shared/lib/index.ts index 56882c0..99ade48 100644 --- a/src/shared/lib/index.ts +++ b/src/shared/lib/index.ts @@ -14,6 +14,7 @@ export { type Filter, type FilterModel, type LineData, + type PersistentStore, type Property, type ResponsiveManager, responsiveManager,