Kotlin / dukat

Converter of <any kind of declarations> to Kotlin external declarations
548 stars 44 forks source link

Importing history version 5.0.0 from npm with externals produces uncompilable code #435

Open elizarov opened 3 years ago

elizarov commented 3 years ago
implementation(npm("history", "5.0.0", generateExternals = true))

Compilation fails in lib.dom.kt:

external interface MultiCacheQueryOptions : CacheQueryOptions {
    var cacheName: String? // 'cacheName' hides member of supertype 'CacheQueryOptions' and needs 'override' modifier
        get() = definedExternally
        set(value) = definedExternally
}
kocheick commented 1 year ago

Experiencing the same issue with implementation(npm("react-grid-gallery", "1.0.0",true)) Crashes using Kotlin 1.7.21, on either IR, LEGACY or BOTH.

Please, advise