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:
@@ -21,7 +21,8 @@ export function formatAcceptLanguageHeader(
|
||||
|
||||
const length = Math.min(languages.length, MAX_LANGUAGES_TO_FORMAT);
|
||||
for (let i = 0; i < length; i += 1) {
|
||||
const language = languages[i];
|
||||
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
||||
const language = languages[i]!;
|
||||
|
||||
// ["If no 'q' parameter is present, the default weight is 1."][1]
|
||||
//
|
||||
|
||||
Reference in New Issue
Block a user