typescript

Mapped type needed instead of index signature

An index signature parameter type cannot be a literal type or generic type

Fixes

typescriptmapped-typesindex-signature

Related Errors