(value: unknown)
| 68 | let migrationAttempted = false; |
| 69 | |
| 70 | function isRecord(value: unknown): value is Record<string, unknown> { |
| 71 | return typeof value === 'object' && value !== null && !Array.isArray(value); |
| 72 | } |
| 73 | |
| 74 | export function parseLegacyPersistedState(legacyData: string): Record<string, unknown> | null { |
| 75 | try { |
no outgoing calls
no test coverage detected