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

    Interface LedgerStorage

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

    interface LedgerStorage {
        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