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

Resolve @ReactMethod to undefined instead of null

$
0
0

I'm creating a React Native bridge in which I'm using undefined as a default value for null. When a value returns null from Kotlin and we resolve the promise with that value, it appears as null on Typescript. Any way a bridged Kotlin method can resolve into undefined directly?


Viewing all articles
Browse latest Browse all 6287

Trending Articles



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