Skip to content

Commit 48e42dc

Browse files
authored
Update markdown for typedefs for #2649 (#2654)
1 parent 1fea0f8 commit 48e42dc

File tree

2 files changed

+12
-2
lines changed

2 files changed

+12
-2
lines changed

lib/templates/md/_typedef.md

+5-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
{{#isCallable}}
22
{{#asCallable}}
3-
{{>callable}}
3+
##### {{{linkedName}}}{{{linkedGenericParameters}}} = {{{modelType.linkedName}}}
4+
{{>categorization}}
5+
6+
{{{ oneLineDoc }}} {{{ extendedDocLink }}} {{!two spaces intentional}}
7+
{{>features}}
48
{{/asCallable}}
59
{{/isCallable}}
610
{{^isCallable}}

lib/templates/md/_typedef_multiline.md

+7-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,12 @@
11
{{#isCallable}}
22
{{#asCallable}}
3-
{{>callable_multiline}}
3+
{{#hasAnnotations}}
4+
{{#annotations}}
5+
- {{{linkedNameWithParameters}}}
6+
{{/annotations}}
7+
{{/hasAnnotations}}
8+
9+
{{{modelType.returnType.linkedName}}} {{name}}{{{linkedGenericParameters}}} = {{{modelType.linkedName}}}
410
{{/asCallable}}
511
{{/isCallable}}
612
{{^isCallable}}

0 commit comments

Comments
 (0)