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?
↧
Resolve @ReactMethod to undefined instead of null
↧