Enforce stronger types for ArrayBuffers and storage
This commit is contained in:
parent
61ac79e9ae
commit
8f5086227a
56 changed files with 748 additions and 675 deletions
|
@ -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(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue