An index signature parameter type cannot be a literal type or generic type. Consider using a mapped object type instead

 
 
 
 
 
 
 

Recommendations