Quantcast
Channel: Active questions tagged react-native+typescript - Stack Overflow
Viewing all articles
Browse latest Browse all 6213

Is there an interface type I can use in an interface?

$
0
0

I want to pass an object to a react component as well as the object's interface. Here's an example of an interface I want to use:

interface TableProps {  ObjectProps: Interface (doesn't work);  objects: Array<ObjectProps>;}

Is this at all possible?


Viewing all articles
Browse latest Browse all 6213

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>