diff --git a/lib/processors/jsdoc/lib/ui5/plugin.cjs b/lib/processors/jsdoc/lib/ui5/plugin.cjs index fc19d1ad6..b762e130f 100644 --- a/lib/processors/jsdoc/lib/ui5/plugin.cjs +++ b/lib/processors/jsdoc/lib/ui5/plugin.cjs @@ -801,7 +801,7 @@ function checkVarRenaming(variable) { * Builds the fully quantified name when there's a destructuring of a variable * * @param {Node} node - * @returns {Object} + * @returns {string} */ function resolveFullyQuantifiedName(node) { // The missing part is on the left side. The right side is clear. @@ -811,7 +811,7 @@ function resolveFullyQuantifiedName(node) { const currentScope = getEnclosingVariableScope(node); if (!currentScope) { - return null; + return ""; } while (leftMostName) {