We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
@default ...
@Prop()
Stencil could add a @default 'whatever' to a @Prop() jsdoc when it's able to derive the default value.
@default 'whatever'
It'd be a nice quality of life improvement :) - It makes life easier for consuming apps to know what the default is to stop redundancy.
Stencil automatically adds @default ... when it detects a default value AND it doesn't find one set manually
Manually adding @default ...
No response
Stencil does something similar now for @readonly when a @Prop() only has a getter method.
@readonly
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Prerequisites
Describe the Feature Request
Stencil could add a
@default 'whatever'
to a@Prop()
jsdoc when it's able to derive the default value.Describe the Use Case
It'd be a nice quality of life improvement :) - It makes life easier for consuming apps to know what the default is to stop redundancy.
Describe Preferred Solution
Stencil automatically adds
@default ...
when it detects a default value AND it doesn't find one set manuallyDescribe Alternatives
Manually adding
@default ...
Related Code
No response
Additional Information
Stencil does something similar now for
@readonly
when a@Prop()
only has a getter method.The text was updated successfully, but these errors were encountered: