Hex Core JS
    Preparing search index...

    Type Alias LocalStorageContextValue

    type LocalStorageContextValue = {
        getItem: <T>(key: string, filterType?: TypeFilter<T>) => T;
        hasItem: (key: string) => boolean;
        removeItem: (key: string) => void;
        setItem: (
            key: string,
            value: LocalStorageValue | LocalStorageValueSetter,
        ) => void;
    }
    Index

    Properties

    getItem: <T>(key: string, filterType?: TypeFilter<T>) => T
    hasItem: (key: string) => boolean
    removeItem: (key: string) => void
    setItem: (
        key: string,
        value: LocalStorageValue | LocalStorageValueSetter,
    ) => void