Skip to content

Commit c02266f

Browse files
committed
fix: Change two dots in Promise to one
1 parent 07dea8e commit c02266f

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

internal/documentation/jsdoc/docdash/publish.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -686,7 +686,9 @@ function linkGenericType(type, classString) {
686686
result = htmlsafe(baseType);
687687
}
688688

689-
result += '.<';
689+
// Only add a separating dot if the baseType doesn't already end with one
690+
const needsDot = !String(baseType).trim().endsWith('.');
691+
result += (needsDot ? '.<' : '<');
690692

691693
// Recursively handle the inner type
692694
if (isComplexTypeExpression(innerType)) {

0 commit comments

Comments
 (0)