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

What does this syntax mean in React Native and TypeScript?

$
0
0
var = ({ data }: { data: interfaceModel }) => (  // data is used here)

What does this syntax mean? I know that the second data has an interface of interfaceModel. But why are there two occurrences of data?


Viewing all articles
Browse latest Browse all 6502

Latest Images

Trending Articles



Latest Images

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