I
I
Ivan2020-11-28 14:54:24
typescript
Ivan, 2020-11-28 14:54:24

How to type a component that inherits from another component?

I'm trying to type props, but my component is inheriting from another, generic component.
Also, the question is, is it better to type props from redax in mapStateToProps, or can they be typed right there, as I'm trying to do now?
5fc239fec414d366453455.png

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question