Getting the TypeScript typings for React Higher-Order Components right is super hard. It took me all afternoon, but TypeScript stopped complaining so I think I’m good.

(This article here helped a lot: greatrexpectations.com/2018/08/2…)

Florian Eckerstorfer @florian