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

@@ -17,7 +17,7 @@ describe('getConversationInDirection', () => {
fakeConversation(true),
fakeConversation(true),
fakeConversation(),
];
] as const;
describe('searching for any conversation', () => {
const up: ToFindType = {
@@ -107,7 +107,7 @@ describe('getConversationInDirection', () => {
fakeConversation(),
fakeConversation(),
fakeConversation(),
];
] as const;
it('returns undefined if there are no conversations', () => {
assert.isUndefined(getConversationInDirection([], up, undefined));