Trying out TypeScript for a React project and I\'m stuck on this error:
Element implicitly has an \'any\' type because expression of type \'string\' can\'t b
Thanks to Alex Mckay I had a resolve for dynamic setting a props:
for(let prop in filter) (state.filter as Record)[prop] = filter[prop];