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

@@ -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]
//