Skip to content
This repository was archived by the owner on Mar 31, 2025. It is now read-only.

Commit 18193fe

Browse files
fix(ngdoc/macros): use type.name to display the directive parameter types
See angular/angular.js#11415 Closes #120
1 parent dc7e7d8 commit 18193fe

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ngdoc/templates/lib/macros.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,8 @@
3535

3636
{%- macro directiveParam(name, type, join, sep) %}
3737
{%- if type.optional %}[{% endif -%}
38-
{$ name | dashCase $}{$ join $}{$ type.description $}{$ sep $}
39-
{%- if type.optional %}]{% endif -%}
38+
{$ name | dashCase $}{$ join $}{$ type.name $}{$ sep $}
39+
{%- if type.optional %}]{% endif -%}
4040
{% endmacro -%}
4141

4242
{%- macro functionSyntax(fn) %}

0 commit comments

Comments
 (0)