Skip to content

Commit

Permalink
[INTERNAL] JSDoc: fix JSDoc issues in the code of the jsdoc-template
Browse files Browse the repository at this point in the history
 - structure types require an additional set of curly braces
 - optional fields in a structure are denoted with a trailing "="
   as part of the field name

Cherry-picked from SAP/openui5@0cb9f8401.
  • Loading branch information
codeworrior committed Dec 5, 2024
1 parent 781c0f5 commit 21089e6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/processors/jsdoc/lib/transformApiJson.js
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ function transformer(sInputFile, sOutputFile, sLibraryFile, vDependencyAPIFiles,
* UI5Types: ["sap.ui.core.Control"] // skip template if its value is "${0}" (default value)
* }
* @param {string} sComplexType
* @returns {?template: string, ?UI5Types: string[]}
* @returns {{template=: string, UI5Types=: string[]}}
*/
function parseUI5Types(sComplexType) {
let oParsed;
Expand Down

0 comments on commit 21089e6

Please sign in to comment.