mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2026-04-19 07:58:46 +01:00
Enable tsconfig noUncheckedIndexedAccess
This commit is contained in:
@@ -4,6 +4,7 @@
|
||||
|
||||
import assert from 'node:assert';
|
||||
|
||||
import type { PrimaryDevice } from '@signalapp/mock-server';
|
||||
import { ReceiptType } from '@signalapp/mock-server';
|
||||
|
||||
import { Bootstrap, debug, RUN_COUNT, DISCARD_COUNT } from './fixtures.node.js';
|
||||
@@ -19,7 +20,7 @@ Bootstrap.benchmark(async (bootstrap: Bootstrap): Promise<void> => {
|
||||
|
||||
const { server, contacts, phone, desktop } = bootstrap;
|
||||
|
||||
const [first] = contacts;
|
||||
const [first] = contacts as [PrimaryDevice];
|
||||
|
||||
const messages = new Array<Buffer>();
|
||||
debug('encrypting');
|
||||
|
||||
Reference in New Issue
Block a user