Remove needless @default JSDoc tags #10657
Labels
0 - new
New issues that need assignment.
blocked
This issue is blocked by another issue.
calcite-components
Issues specific to the @esri/calcite-components package.
estimate - 2
Small fix or update, may require updates to tests.
needs milestone
Planning workflow - pending milestone assignment, has priority and/or estimate.
p - low
Issue is non core or affecting less that 10% of people using the library
refactor
Issues tied to code that needs to be significantly reworked.
Description
Blocked by #10310
In several places Calcite uses
@default
JSDoc tag to describe the property's default value:Doing so in Lumina is not necessary - if default value is coming from a const variable (like in the above case), Lumina infers the default value correctly, without need for manual annotations.
It looks like Calcite has 11
@default
annotations, and all of them are needless in LuminaProposed Advantages
Remove redundancy and reduce chance of things getting out of date
Which Component
11 places
Relevant Info
No response
Calcite package
The text was updated successfully, but these errors were encountered: