Skip to content

Commit 877e8c4

Browse files
Change placeholder format 19.2 (#1110)
1 parent 617b8c3 commit 877e8c4

File tree

3 files changed

+33
-10
lines changed

3 files changed

+33
-10
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,4 @@ npm-debug.log
99
metadata/generated
1010
src/ui/
1111
src/index.ts
12+
artifacts

templates/component.tst

Lines changed: 22 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -70,8 +70,12 @@ const CUSTOM_VALUE_ACCESSOR_PROVIDER = {
7070
multi: true
7171
};<#?#>
7272

73-
<#? it.isDeprecated #>/** @deprecated */<#?#>
74-
<#? it.docID #>/** @name <#= it.docID #> */<#?#>
73+
/**
74+
* [descr:<#= it.docID #>]
75+
<#? it.isDeprecated #>
76+
* @deprecated [depNote:<#= it.docID #>]
77+
<#?#>
78+
*/
7579
@Component({
7680
selector: '<#= it.selector #>',
7781
template: '<#? it.isTranscludedContent #><ng-content></ng-content><#?#>',<#? it.isViz #>
@@ -87,8 +91,12 @@ const CUSTOM_VALUE_ACCESSOR_PROVIDER = {
8791
export class <#= it.className #>Component extends <#= baseClass #> <#? implementedInterfaces.length #>implements <#= implementedInterfaces.join(', ') #> <#?#>{
8892
instance: <#= it.className #>;
8993
<#~ it.properties :prop:i #>
90-
<#? prop.isDeprecated #>/** @deprecated */<#?#>
91-
<#? prop.docID #>/** @name <#= prop.docID #> */<#?#>
94+
/**
95+
* [descr:<#= prop.docID #>]
96+
<#? prop.isDeprecated #>
97+
* @deprecated [depNote:<#= prop.docID #>]
98+
<#?#>
99+
*/
92100
@Input()
93101
get <#= prop.name #>(): <#= prop.type #> {
94102
return this._getOption('<#= prop.name #>');
@@ -99,9 +107,16 @@ export class <#= it.className #>Component extends <#= baseClass #> <#? implement
99107

100108
<#?#><#~#>
101109
<#~ it.events :event:i #>
102-
<#? event.isDeprecated #>/** @deprecated */<#?#>
103-
<#? event.docID #>/** @name <#= event.docID #> */<#?#>
104-
<#? event.isInternal #>/** This member supports the internal infrastructure and is not intended to be used directly from your code. */<#?#>
110+
/**
111+
<#? event.isInternal #>
112+
* This member supports the internal infrastructure and is not intended to be used directly from your code.
113+
<#??#>
114+
* [descr:<#= event.docID #>]
115+
<#? event.isDeprecated #>
116+
* @deprecated [depNote:<#= event.docID #>]
117+
<#?#>
118+
<#?#>
119+
*/
105120
@Output() <#= event.emit #>: <#= event.type #>;<#? i < it.events.length-1 #>
106121
<#?#><#~#>
107122

templates/nested-component.tst

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -57,9 +57,16 @@ export class <#= it.className #>Component extends <#= it.baseClass #><#? it.hasT
5757
}
5858
<#~#>
5959
<#~ it.events :event:i #>
60-
<#? event.isDeprecated #>/** @deprecated */<#?#>
61-
<#? event.docID #>/** @name <#= event.docID #> */<#?#>
62-
<#? event.isInternal #>/** This member supports the internal infrastructure and is not intended to be used directly from your code. */<#?#>
60+
/**
61+
<#? event.isInternal #>
62+
* This member supports the internal infrastructure and is not intended to be used directly from your code.
63+
<#??#>
64+
* [descr:<#= event.docID #>]
65+
<#? event.isDeprecated #>
66+
* @deprecated [depNote:<#= event.docID #>]
67+
<#?#>
68+
<#?#>
69+
*/
6370
@Output() <#= event.emit #>: <#= event.type #>;<#? i < it.events.length-1 #>
6471
<#?#><#~#>
6572
protected get _optionPath() {

0 commit comments

Comments
 (0)