Edoardo Luppi11/03/2023, 11:25 AM
, as per screenshot. What would be the correct way to do it?
Artem Kobzar11/03/2023, 11:33 AM
// FILE: XMLDocument.kt @file:JsModule("linkedom/xml/XMLDocument") package linkedom.xml external class XMLDocument
Edoardo Luppi11/03/2023, 11:36 AM
Artem Kobzar11/03/2023, 2:03 PM
library developers, or your users of the Kotlin code shouldn't have access to the class?
Edoardo Luppi11/03/2023, 2:04 PM
without the parsing stage. But I ended up doing it like this:
val document = domParser.parseXmlFromString("<$rootTagName/>")
Artem Kobzar11/03/2023, 2:22 PM
Edoardo Luppi11/03/2023, 2:31 PM
Artem Kobzar11/03/2023, 3:00 PM
TS-doc to declarations with the
annotation, but adding comments is much harder to do in the current compiler architecture. We are looking the way to do it, but it's not something that we could ship the nearest 2 quarters.
Edoardo Luppi11/03/2023, 3:02 PM