code: function setConfigToLS(configObj) {
      var configStr = JSON.stringify(configObj);
      window.localStorage[getFullBSKey(browser_storage_config_1.browserStorageConfig.DB_CONFIG_KEY)] = configStr;
  }
docs: serialize config and save to browser storage