mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2026-04-18 15:45:39 +01:00
Enable tsconfig noUncheckedIndexedAccess
This commit is contained in:
@@ -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: [],
|
||||
|
||||
Reference in New Issue
Block a user