MCPcopy
hub / github.com/jsdoc/jsdoc / addSignatureTypes

Function addSignatureTypes

templates/default/publish.js:184–188  ·  view source on GitHub ↗
(f)

Source from the content-addressed store, hash-verified

182}
183
184function addSignatureTypes(f) {
185 const types = f.type ? buildItemTypeStrings(f) : [];
186
187 f.signature = `${f.signature || ''}<span class="type-signature">${types.length ? ` :${types.join('|')}` : ''}</span>`;
188}
189
190function addAttribs(f) {
191 const attribs = helper.getAttribs(f);

Callers 1

publish.jsFile · 0.85

Calls 1

buildItemTypeStringsFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…