Is there a specific reason why createAnimatedComponent expects and returns any? instead of e.g. T?
If that would be a better solution, I'll gladly submit a PR. I just thought, maybe there's some specific reasoning behind it.
Yeah, here are few links regarding that issue. Problem is, we don't have TS tests setup (yet) and every change in types has to be checked locally.