Kunci Array Dinamis TypeScript

(yourArray as any)[index] = value;
Matyáš Teplý