Skip to content

Commit

Permalink
[INTERNAL] Align jsdoc publish with UI5 (#967)
Browse files Browse the repository at this point in the history
Align `lib/processors/jsdoc/lib/ui5/template/publish.cjs` with
[OpenUI5](SAP/openui5@5f19636)
  • Loading branch information
d3xter666 authored Dec 12, 2023
1 parent b4a6f72 commit 3a1874e
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions lib/processors/jsdoc/lib/ui5/template/publish.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -2122,7 +2122,13 @@ function createAPIJSON4Symbol(symbol, omitDefaults) {
// secTags(symbol); // TODO repeat from class?
closeTag("constructor");

} else {

// even though the constructor is omitted here, the "hide" information is needed because in TypeScript it even exists when omitted
attrib("hideconstructor", true, /* default */ false, /* raw */ true); // as boolean

}

} else if ( kind === 'namespace' ) {
if ( symbol.__ui5.stereotype || symbol.__ui5.metadata ) {
tag("ui5-metadata");
Expand Down

0 comments on commit 3a1874e

Please sign in to comment.