Pebble App Framework: Phone API
    Preparing search index...

    Interface CacheStorage

    The slice of localStorage this needs, passed in so the specs can hand it a fake.

    interface CacheStorage {
        getItem(key: string): string | null;
        setItem(key: string, value: string): void;
    }
    Index
    • Parameters

      • key: string

      Returns string | null

    • Parameters

      • key: string
      • value: string

      Returns void