Closed tpluscode closed 7 years ago
It turns out that element-level docs almost work (#58). For this ticket, only property documentation remains. yay!
Element level docs are done, just not merged yet. I am working on property/method docs at this moment and I'm close to finishing :).
Documentation (jsDoc) handling should be fixed now. TWC now handles class-level, property-level and method-level jsDoc.
twc should preserve element and property documentation. For elements, Polymer documentation gives two possible ways:
<dom-module>
Polymer()
callWith twc, there is no
<dom-module>
, just the template. It may work to always have just the JS comment, even when<dom-module>
is used. If not, the comment will have to be moved from JS to HTMLSecond, individual properties can be documented. Currently these comments are completely dropped by TypeScript compiler. They will have to be extracted from ts code and moved to the final output