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

@@ -101,7 +101,7 @@ describe('LeftPaneArchiveHelper', () => {
const archivedConversations = [
getDefaultConversation(),
getDefaultConversation(),
];
] as const;
const helper = new LeftPaneArchiveHelper({
...defaults,
archivedConversations,
@@ -125,7 +125,7 @@ describe('LeftPaneArchiveHelper', () => {
const archivedConversations = [
getDefaultConversation(),
getDefaultConversation(),
];
] as const;
const helper = new LeftPaneArchiveHelper(searchingDefaults);
assert.strictEqual(
@@ -140,7 +140,7 @@ describe('LeftPaneArchiveHelper', () => {
const archivedConversations = [
getDefaultConversation(),
getDefaultConversation(),
];
] as const;
const helper = new LeftPaneArchiveHelper({
...defaults,
archivedConversations,
@@ -174,7 +174,7 @@ describe('LeftPaneArchiveHelper', () => {
const archivedConversations = [
getDefaultConversation(),
getDefaultConversation(),
];
] as const;
const helper = new LeftPaneArchiveHelper({
...defaults,
archivedConversations,
@@ -194,7 +194,7 @@ describe('LeftPaneArchiveHelper', () => {
const archivedConversations = [
getDefaultConversation(),
getDefaultConversation(),
];
] as const;
const helper = new LeftPaneArchiveHelper({
...defaults,
archivedConversations,
@@ -246,7 +246,7 @@ describe('LeftPaneArchiveHelper', () => {
const archivedConversations = [
getDefaultConversation(),
getDefaultConversation(),
];
] as const;
const helper = new LeftPaneArchiveHelper({
...defaults,
archivedConversations,