Skip to content

Commit

Permalink
docs(api): dont display type if method or function
Browse files Browse the repository at this point in the history
  • Loading branch information
vkarpov15 committed Feb 3, 2019
1 parent bfb3a9a commit 3150958
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/api.jade
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ block content
h5 Returns:
ul
li <span class="method-type">&laquo;#{prop.return.types}&raquo;</span> !{prop.return.description}
if prop.type != null
if prop.type != null && prop.type !== 'method' && prop.type !== 'function'
h5 Type:
ul
li <span class="method-type">&laquo;#{prop.type}&raquo;</span>
Expand Down

0 comments on commit 3150958

Please sign in to comment.