Enable tsconfig noUncheckedIndexedAccess

Co-authored-by: Jamie <113370520+jamiebuilds-signal@users.noreply.github.com>
This commit is contained in:
automated-signal
2026-03-16 12:20:58 -05:00
committed by GitHub
parent 279a69f3b3
commit 5684e0d0aa
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);