mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2025-12-26 13:20:48 +00:00
Enforce stronger types for ArrayBuffers and storage
This commit is contained in:
@@ -52,7 +52,7 @@ export class RetryPlaceholders {
|
||||
}
|
||||
|
||||
const parsed = retryItemListSchema.safeParse(
|
||||
window.storage.get(STORAGE_KEY) || []
|
||||
window.storage.get(STORAGE_KEY, new Array<RetryItemType>())
|
||||
);
|
||||
if (!parsed.success) {
|
||||
window.log.warn(
|
||||
|
||||
Reference in New Issue
Block a user