:sob: (tears of joy) 1. Enable it with `-Xexport...
# javascript
e
😭 (tears of joy) 1. Enable it with
-Xexport-kdoc
. 2. If you're fiddling with generated .d.ts files, you'll need to migrate how you do it. From:
Copy code
binaries.withType<JsIrBinary>().configureEach {
  linkTask.configure {
    doLast {
      val typesFile = destinationDirectory.file(typesFileName).get()
      updateTypeScriptTypes(typesFile.asFile)
    }
  }
}
To:
Copy code
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).
kodee happy 3
yay 1
Big thanks to @Artem Kobzar, @broadway_lamb and @Andrii Rublov for the cool work they've been doing. This, specifically, is a gigantic step forward.
💯 1
❤️ 3
b
Note: prefer the
-Xexport-kdoc
flag to
-XXLanguage:+ExportKDocDocumentationToKlib
thank you color 1
a
hmm yeah that's some ugly Gradle, please make an issue thank you color
e
@Adam Semenenko will do! I wanted to depend on the d.ts generation task, but the class appear to be
internal
(maybe for good reasons).
a
but the class appear to be internal (maybe for good reasons).
Probably not, please make an issue for this too 🙏