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 createDebug from 'debug';
import type { PrimaryDevice } from '@signalapp/mock-server';
import type { App } from '../playwright.node.js';
import * as durations from '../../util/durations/index.std.js';
import { Bootstrap } from '../bootstrap.node.js';
@@ -33,7 +34,7 @@ describe('readSync', function (this: Mocha.Suite) {
it('applies out of order read syncs', async () => {
const { contacts, desktop, phone } = bootstrap;
const [friend] = contacts;
const [friend] = contacts as [PrimaryDevice];
const page = await app.getWindow();