Open
Description
Prerequisites
- I have read the Contributing Guidelines.
- I agree to follow the Code of Conduct.
- I have searched for existing issues that already report this problem, without success.
Stencil Version
4.22.3
Stencil Framework Output Target
Angular
Stencil Framework Output Target Version
0.10.2
Current Behavior
this backdrop component with jsdoc for the complete component and prop jsdoc:
/**
* @deprecated Diese Komponente ist ab 1.9.0 deprecated und wird ab 2.0 komplett entfernt
*/
@Component({
tag: 's-backdrop',
styleUrl: 's-backdrop.scss',
})
export class SBackdrop {
/** @deprecated Orientierung an Parent Komponente */
@Prop() absolute: boolean = true;
}
will render in this proxy components.ts:
@ProxyCmp({
inputs: ['absolute']
})
@Component({
selector: 's-backdrop',
changeDetection: ChangeDetectionStrategy.OnPush,
template: '<ng-content></ng-content>',
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
inputs: ['absolute'],
})
export class SBackdrop {
protected el: HTMLSBackdropElement;
/**
* @deprecated Orientierung an Parent Komponente
*/
set absolute(_: Components.SBackdrop['absolute']) {};
...
Now we can see the @deprecated
of the prop ist transported but the global component jsdoc isnt.
This will have the effect when i use the component in an angular template:
<s-backdrop></s-backdrop>
<s-backdrop absolute></s-backdrop>
it doesn't show that the complete component is deprecated but the property is marked as deprecated.
if i put manually the @deprecated
jsdoc into the generated component.ts then my IDE shows the deprecation.
cheers
Expected Behavior
the global @deprecated
will transported to the proxy component
Steps to Reproduce
Add a @deprecated
to the global jsdoc of a stencil component
Code Reproduction URL
Additional Information
No response
Metadata
Metadata
Assignees
Labels
No labels