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

@@ -244,7 +244,7 @@ describe('LeftPaneComposeHelper', () => {
const composeContacts = [
getDefaultConversation(),
getDefaultConversation(),
];
] as const;
const helper = new LeftPaneComposeHelper({
composeContacts,
composeGroups: [],
@@ -280,11 +280,11 @@ describe('LeftPaneComposeHelper', () => {
const composeContacts = [
getDefaultConversation(),
getDefaultConversation(),
];
] as const;
const composeGroups = [
getDefaultGroupListItem(),
getDefaultGroupListItem(),
];
] as const;
const helper = new LeftPaneComposeHelper({
composeContacts,
composeGroups,
@@ -329,7 +329,7 @@ describe('LeftPaneComposeHelper', () => {
const composeContacts = [
getDefaultConversation(),
getDefaultConversation(),
];
] as const;
const helper = new LeftPaneComposeHelper({
composeContacts,
composeGroups: [],
@@ -407,7 +407,7 @@ describe('LeftPaneComposeHelper', () => {
const composeContacts = [
getDefaultConversation(),
getDefaultConversation(),
];
] as const;
const helper = new LeftPaneComposeHelper({
composeContacts,
composeGroups: [],