Enable tsconfig noUncheckedIndexedAccess

This commit is contained in:
Jamie
2026-03-12 16:24:01 -07:00
committed by GitHub
parent 34b0f9cd50
commit 1d45a52da7
311 changed files with 2146 additions and 1589 deletions

View File

@@ -201,7 +201,7 @@ describe('SQL/updateToSchemaVersion1040', () => {
const attachments = getAttachmentDownloadJobs(db);
assert.strictEqual(attachments.length, 1);
assert.strictEqual(attachments[0].attempts, 0);
assert.strictEqual(attachments[0]?.attempts, 0);
});
it('uses indices searching for next job', () => {