Okay, I see what JS API does in this case, it uses...
# javascript
g
Okay, I see what JS API does in this case, it uses dynamic types under the hood to unwrap promise, good to know You can emulate this with Kotlin JS using some extension function with
dynamic
type instead of strong typed
then
from stdlib, but I wouldn’t recommend to do that, you lose type safety in this case and better to find better solution