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

@@ -204,7 +204,7 @@ describe('SQL/updateToSchemaVersion1060', () => {
describe('Sync Tasks', () => {
it('creates tasks in bulk, and fetches all', () => {
const now = Date.now();
const expected: Array<SyncTaskType> = [
const expected = [
{
id: generateGuid(),
attempts: 1,
@@ -241,7 +241,7 @@ describe('SQL/updateToSchemaVersion1060', () => {
sentAt: 3,
type: 'delete-conversation',
},
];
] as const satisfies Array<SyncTaskType>;
saveSyncTasks(db, expected);