Zalim Bashorov
Zalim Bashorov
At least by changing this section: https://github.com/kotlin/kotlinx.atomicfu#dos-and-donts The best solution is adding a check, see #119
The ideal solution is providing custom checks for frontend. Harder to implement since it requires a new integration, but will provide the best DX -- early error, including inside IDE....
Examples: ```kotlin external interface MyFunction { @nativeInvoke fun invoke(a: Int, b: String): Int } inline fun MyFunction(f: (a: Int, b: String) -> Int): MyFunction { return f.unsafeCast() } external interface...
Provide the way to add information about related JS module when write native declarations in Kotlin and use this information to generate dependencies.
https://reactjs.org/docs/react-dom.html https://www.npmjs.com/package/react-dom https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react-dom
https://mochajs.org/ https://www.npmjs.com/package/mocha https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/mocha
Honestly, I'm not 100% sure that it's the right way to do it, I just looked at the recent builds and noticed that fo success builds `results` is 0, and...
https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Security-Policy/script-src#unsafe_webassembly_execution
It adds wasm-js only to the precompose subproject. Anyway, it would be nice if you could accept the PR and publish an updated version to Maven Central.