Indexable object in typescriptUsing dynamic object key without typescript giving "No index signature with a parameter of type string was found on type" errorOct 25, 2020