Gets import statistics from storage.
The import stats or null if not found.
const stats = getImportStats(); Copy
const stats = getImportStats();
export function getImportStats(): ImportStats | null { try { const stats = storage.getItem(STORAGE_KEYS.IMPORT_STATS); return stats ? JSON.parse(stats) : null; } catch (error) { console.error("Error retrieving import stats from storage", error); return null; }} Copy
export function getImportStats(): ImportStats | null { try { const stats = storage.getItem(STORAGE_KEYS.IMPORT_STATS); return stats ? JSON.parse(stats) : null; } catch (error) { console.error("Error retrieving import stats from storage", error); return null; }}
Gets import statistics from storage.