mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2026-04-19 07:58:46 +01:00
Enable tsconfig noUncheckedIndexedAccess
Co-authored-by: Jamie <113370520+jamiebuilds-signal@users.noreply.github.com>
This commit is contained in:
@@ -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));
|
||||
|
||||
Reference in New Issue
Block a user