always show returns in API

This commit is contained in:
Lex Berezhny 2019-04-06 16:53:17 -04:00
parent ecf93c66b6
commit f828139343

View file

@ -120,7 +120,7 @@ function createApiContent(apiDetails) {
${apiDetail.arguments.length ? `<h3>Arguments</h3><ul class="api-content__body-arguments">${renderArguments(apiDetail.arguments).join("")}</ul>` : ""}
${!apiDetail.examples || !apiDetail.examples.length ? (`<h3>Returns</h3><pre><code>${dedent(apiDetailsReturns)}</code></pre>`) : ""}
<h3>Returns</h3><pre><code>${dedent(apiDetailsReturns)}</code></pre>
</div>
<div class="api-content__example">