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

@@ -3,6 +3,7 @@
import { assert } from 'chai';
import type { PrimaryDevice } from '@signalapp/mock-server';
import * as durations from '../../util/durations/index.std.js';
import type { App, Bootstrap } from './fixtures.node.js';
import { initStorage, debug } from './fixtures.node.js';
@@ -29,7 +30,7 @@ describe('storage service', function (this: Mocha.Suite) {
it('should archive/unarchive contacts', async () => {
const { phone, contacts } = bootstrap;
const [firstContact] = contacts;
const [firstContact] = contacts as [PrimaryDevice];
const window = await app.getWindow();