Edoardo Luppi
11/03/2023, 11:25 AMlinkedom/xml/XMLDocument
, as per screenshot.
What would be the correct way to do it?Artem Kobzar
11/03/2023, 11:33 AM// FILE: XMLDocument.kt
@file:JsModule("linkedom/xml/XMLDocument")
package linkedom.xml
external class XMLDocument
Edoardo Luppi
11/03/2023, 11:36 AMArtem Kobzar
11/03/2023, 2:03 PMlinkedom/xml/XMLDocument
library developers, or your users of the Kotlin code shouldn't have access to the class?Edoardo Luppi
11/03/2023, 2:04 PMXMLDocument
without the parsing stage.
But I ended up doing it like this:
val document = domParser.parseXmlFromString("<$rootTagName/>")
Artem Kobzar
11/03/2023, 2:22 PMEdoardo Luppi
11/03/2023, 2:31 PMArtem Kobzar
11/03/2023, 3:00 PMdeprecated
TS-doc to declarations with the Deprecated
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 Luppi
11/03/2023, 3:02 PM