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

Use undefined instead of null in RealmJS

$
0
0

I am wondering if there is a way to force RealmJS return undefined instead of null on optional fields?

I am asking this, because typescript's optional types is actually T | undefined, not T | null. I don't want to mix up undefined and null.

Thank you.


Viewing all articles
Browse latest Browse all 6211

Trending Articles



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