mwg API
    Preparing search index...

    Interface SaveStorage

    the storage a SaveSystem writes through - localStorage's shape, so that is the default

    interface SaveStorage {
        keys(): string[];
        read(key: string): string | null;
        remove(key: string): void;
        write(key: string, value: string): void;
    }
    Index
    • Parameters

      • key: string

      Returns string | null

    • Parameters

      • key: string
      • value: string

      Returns void