After adding types dependency like this: ```val js...
# javascript
d
After adding types dependency like this:
Copy code
val jsMain by getting {
            dependencies {
                implementation(npm("@types/webrtc", "0.0.26", generateExternals = true))
            }
        }
I’m getting conflicting declarations errors during the build.
Copy code
Conflicting declarations: public open var latency: W3C.DoubleRange? /* = NumberRange? */, public open var latency: tsstdlib.DoubleRange?
Does anyone know how to resolve this?
v
Dukat is still not optimal. You should report such issues and you need to fix them by hand. Either by generating the fumes once, fixing them and then committing them, or on the fly like I prefer. You can see my approach for similar issues here: https://github.com/Vampire/setup-wsl/blob/master/buildSrc/src/main/kotlin/net/kautler/node.gradle.kts#L147
👍 1
d
Thank you, will check