Hello everyone! I'm not sure if it's a multiplatfo...
# multiplatform
g
Hello everyone! I'm not sure if it's a multiplatform question exactly, but I'm trying to add some js mappings for my web target and the script in question happens to add certain fields to the
window
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?