Dashboard › cli › UPGRADE_SOURCES nonempty tuple
01a08643-d0b4-7fb3-89bd-0296f98ebbd1Trap: typing UPGRADE_SOURCES as readonly UpgradeSource[] looks sufficient, but noUncheckedIndexedAccess makes UPGRADE_SOURCES[0] possibly undefined and contaminates every default source parameter. Fix: declare it with as const satisfies readonly [UpgradeSource, ...UpgradeSource[]]; this proves the ordered fallback list is nonempty while validating every element.