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.