Skip to content

Commit ac1f104

Browse files
committed
feat(design): be explicit about signature types
1 parent 6b11694 commit ac1f104

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

publish.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ function addSignatureReturns(f) {
169169
}
170170

171171
f.signature = '<span class="signature">' + (f.signature || '') + '</span>' +
172-
'<span class="type-signature">' + returnTypesString + '</span>';
172+
'<span class="return-type-signature">' + returnTypesString + '</span>';
173173
}
174174

175175
function addSignatureTypes(f) {
@@ -183,7 +183,7 @@ function addAttribs(f) {
183183
var attribs = helper.getAttribs(f);
184184
var attribsString = buildAttribsString(attribs);
185185

186-
f.attribs = util.format('<span class="type-signature">%s</span>', attribsString);
186+
f.attribs = util.format('<span class="method-type-signature">%s</span>', attribs);
187187
}
188188

189189
function shortenPaths(files, commonPrefix) {

0 commit comments

Comments
 (0)