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 Filter,
|
||||||
type FilterModel,
|
type FilterModel,
|
||||||
type LineData,
|
type LineData,
|
||||||
|
type PersistentStore,
|
||||||
type Property,
|
type Property,
|
||||||
type ResponsiveManager,
|
type ResponsiveManager,
|
||||||
responsiveManager,
|
responsiveManager,
|
||||||
|
|||||||
Reference in New Issue
Block a user