clé de tableau dynamique de typeScript
(yourArray as any)[index] = value;
Matyáš Teplý
(yourArray as any)[index] = value;