https://kotlinlang.org logo
#webassembly
Title
# webassembly
r

Robert Jaros

12/13/2023, 2:08 PM
When declaring
fun objGet(obj: JsAny, key: String): JsAny? = js("obj[key]")
I see IDE warning
'objGet' always returns non-null type
. Is there any way to fix this other then suppressing?
i

Igor Yakovlev

12/14/2023, 10:51 AM
AFAIK There is no way for now to get rid of this it but not suppressing. If you would file an issue that it would help.