Gleb
01/17/2025, 8:15 AMwindow
object. However, so far I was not able to find a proper way of implementing the mapping
Let's say the script provides window.foo
which is a string
value
When I tried to add a mapping I did something like this external val Window.foo: String
, however apparently I cannot make an extension property external and the solution offered by my IDE (asDynamic
) also fails miserably. What is the right way of tackling it?ephemient
01/17/2025, 9:35 AMwindow
is the global object, so it's simply
external val foo: String
and not Window.
Gleb
01/18/2025, 7:32 PM