zeed
    Preparing search index...

    Interface ObjectStorage<T>

    interface ObjectStorage<T = any> {
        allKeys: () => string[];
        clear: () => void;
        getItem: (key: string) => T | undefined;
        removeItem: (key: string) => void;
        setItem: (key: string, value: T) => void;
    }

    Type Parameters

    • T = any

    Implemented by

    Index

    Properties

    allKeys: () => string[]
    clear: () => void
    getItem: (key: string) => T | undefined
    removeItem: (key: string) => void
    setItem: (key: string, value: T) => void