import { UsePersistStorageOptions } from './usePersistStorage' ; export let defaultOptions = { debug : false , version : 0 , persist : true , migrate : null , sensitive : false , } ; export type SetPersistStorageDefaultsParams = { debug ? : boolean ; persist ? : boolean ; version ? : number ; } ; export const setPersistStorageDefaults = ( configs ) => { defaultOptions = { ... defaultOptions , ... configs } ; } ;