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

Type Script error in React Native project

$
0
0

In React Native component I'm getting following TS error:

No overload matches this call.Overload 1 of 2, '(props: Omit<Omit<TouchableOpacityProps & RefAttributes & { color: string; }, never> & Partial<Pick<TouchableOpacityProps & RefAttributes<...> & { ...; }, never>>, "theme"> & { ...; } & { ...; } & { ...; }): ReactElement<...>', gave the following error.

how to fix that ?


Viewing all articles
Browse latest Browse all 6287

Trending Articles



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