UNPKG

reduxed-chrome-storage

Version:

Redux interface to chrome.storage (browser.storage). A unified way to use Redux in all modern browser extensions. The only way to get Redux working in Manifest V3 Chrome extensions

15 lines (14 loc) 512 B
/** * Utility function: returns a deep copy of its argument */ declare function cloneDeep(o: any): any; /** * Utility function: checks deeply if its two arguments are equal */ declare function isEqual(a: any, b: any): boolean; /** * Utility function: returns the deep difference between its two arguments */ declare function diffDeep(a: any, b: any): any; declare function mergeOrReplace(a: any, b: any, withReduction?: boolean): any; export { cloneDeep, isEqual, diffDeep, mergeOrReplace };