I'm trying to compile an assemblyscript code that reaches the JavaScript API fetching window and document objects, also adding properties to them. In rust and the library wasm-bindgen I managed to do that with web_sys::window() plus js_sys::Reflect::set.
Is there a way to do the same thing in assemblyscript? The only library I found wasn't updated during the last 10 months and doesn't seem to work anymore (asdom).