Saves sync configuration to storage.
The sync configuration to save.
saveSyncConfig(config); Copy
saveSyncConfig(config);
export function saveSyncConfig(config: SyncConfig): void { try { storage.setItem(STORAGE_KEYS.SYNC_CONFIG, JSON.stringify(config)); } catch (error) { console.error("Error saving sync config to storage", error); }} Copy
export function saveSyncConfig(config: SyncConfig): void { try { storage.setItem(STORAGE_KEYS.SYNC_CONFIG, JSON.stringify(config)); } catch (error) { console.error("Error saving sync config to storage", error); }}
Saves sync configuration to storage.