Chartbreaker
    Preparing search index...

    Type Alias KeyValueStore

    A simple key/value interface that can have only strings as keys and values.

    type KeyValueStore = {
        getItem(key: string): null | string;
        setItem(key: string, value: string): void;
    }
    Index

    Methods

    • Parameters

      • key: string

      Returns null | string

    • Parameters

      • key: string
      • value: string

      Returns void