createLsManager<T = Record<string, any>>( STORAGE_KEY: string,): { clear: () => void; getValue: () => null | T; setValue: (value: T) => void;} Returns { clear: () => void; getValue: () => null | T; setValue: (value: T) => void }
- An instance of the createLsManager class.
clear: () => void
getValue: () => null | T
setValue: (value: T) => void
A utility class for managing local storage values.