Edoardo Luppi
10/22/2026, 3:50 PM-Xexport-kdoc.
2. If you're fiddling with generated .d.ts files, you'll need to migrate how you do it.
From:
binaries.withType<JsIrBinary>().configureEach {
linkTask.configure {
doLast {
val typesFile = destinationDirectory.file(typesFileName).get()
updateTypeScriptTypes(typesFile.asFile)
}
}
}
To:
binaries.withType<JsIrBinary>().configureEach {
linkSyncTask.configure {
doLast {
val typesFile = destinationDirectory.get().resolve(typesFileName)
updateTypeScriptTypes(typesFile)
}
}
}
Open to a better alternative for this specific problem btw (fyi @Adam Semenenko).Edoardo Luppi
10/22/2026, 3:52 PMbroadway_lamb
10/22/2026, 3:54 PM-Xexport-kdoc flag to -XXLanguage:+ExportKDocDocumentationToKlibAdam Semenenko
10/22/2026, 3:54 PMEdoardo Luppi
10/22/2026, 3:55 PMinternal (maybe for good reasons).Adam Semenenko
10/26/2026, 9:27 AMbut the class appear to be internal (maybe for good reasons).Probably not, please make an issue for this too 🙏