feat(PersistentStore): add type for PersistentStore
This commit is contained in:
@@ -49,3 +49,5 @@ export function createPersistentStore<T>(key: string, defaultValue: T) {
|
||||
},
|
||||
};
|
||||
}
|
||||
|
||||
export type PersistentStore<T> = ReturnType<typeof createPersistentStore<T>>;
|
||||
|
||||
@@ -14,6 +14,7 @@ export {
|
||||
type Filter,
|
||||
type FilterModel,
|
||||
type LineData,
|
||||
type PersistentStore,
|
||||
type Property,
|
||||
type ResponsiveManager,
|
||||
responsiveManager,
|
||||
|
||||
Reference in New Issue
Block a user