Fix "Element implicitly has an 'any' type" in TypeScript Object Indexing | CodeTrail