@putkoff/abstract-utilities 0.1.191 → 0.1.194

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,12 +0,0 @@
1
- /**
2
- * Returns `window` if running in a browser, otherwise `undefined`.
3
- */
4
- export declare function getSafeLocalStorage(): Storage | undefined;
5
- /**
6
- * Call a Storage method by name, silencing any errors or missing storage.
7
- *
8
- * @param method One of the keys of the Storage interface: "getItem", "setItem", etc.
9
- * @param args The arguments you’d normally pass to that method.
10
- * @returns The method’s return value, or undefined if storage/method isn’t available.
11
- */
12
- export declare function callStorage<K extends keyof Storage>(method: K, ...args: Parameters<Storage[K]>): ReturnType<Storage[K]> | undefined;