fix(store): StoreOptions.defaults should not be required (#3499)

This commit is contained in:
Tony
2026-07-18 19:46:31 +08:00
committed by GitHub
parent cdfd462955
commit 2ed6d6c1de
2 changed files with 7 additions and 1 deletions
+1 -1
View File
@@ -21,7 +21,7 @@ export type StoreOptions = {
/**
* Default value of the store
*/
defaults: { [key: string]: unknown }
defaults?: { [key: string]: unknown }
/**
* Auto save on modification with debounce duration in milliseconds, it's 100ms by default, pass in `false` to disable it
*/