Add space around pipe

This commit is contained in:
Tim Schaub
2022-08-15 16:13:55 -06:00
parent b5b3cb7b18
commit d23a77bebf

View File

@@ -193,7 +193,7 @@ function addSignatureReturns(f) {
if (returnTypes.length) {
f.signature +=
'<span class="fa fa-arrow-circle-right"></span><span class="type-signature returnType">' +
(returnTypes.length ? '{' + returnTypes.join('|') + '}' : '') +
(returnTypes.length ? '{' + returnTypes.join(' | ') + '}' : '') +
'</span>';
}
}