mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2026-04-28 04:13:18 +01:00
Enable tsconfig noUncheckedIndexedAccess
This commit is contained in:
@@ -458,7 +458,8 @@ async function getRetryConversation({
|
||||
return window.ConversationController.get(requestGroupId);
|
||||
}
|
||||
|
||||
const [messageId] = messageIds;
|
||||
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
||||
const messageId = messageIds[0]!;
|
||||
const message = await DataReader.getMessageById(messageId);
|
||||
if (!message) {
|
||||
log.warn(
|
||||
|
||||
Reference in New Issue
Block a user