Динамический массив TypeScript
(yourArray as any)[index] = value;
Matyáš Teplý
(yourArray as any)[index] = value;