code: function _initStorage$2(options) {
      var self = this;
      var dbInfo = {};
      if (options) {
          for (var i in options) {
              dbInfo[i] = options[i];
          }
      }
  
      dbInfo.keyPrefix = _getKeyPrefix(options, self._defaultConfig);
  
      if (!_isLocalStorageUsable()) {
          return Promise$1.reject();
      }
  
      self._dbInfo = dbInfo;
      dbInfo.serializer = localforageSerializer;
  
      return Promise$1.resolve();
  }
docs: Config the localStorage backend, using options set in the config.