I have an issue with the typescript generation. Promise are not properly mapped (https://youtrack.jetbrains.com/issue/KT-43632). There is a workaround to force the Typescript type to use ?
a
adk
11/27/2020, 5:29 PM
return
dynamic
and cast it after
await
🤮
m
mmaillot
12/06/2020, 3:22 PM
At this moment, I return kotln.js.Promise and in my typescript project, I just write this: