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>>;
|
||||
|
||||
Reference in New Issue
Block a user