Assigning deprecated half
value causes TypeScript errors
#10934
Labels
4 - verified
Issues that have been released and confirmed resolved.
ArcGIS Online
Issues logged by ArcGIS Online team members.
bug
Bug reports for broken functionality. Issues should include a reproduction of the bug.
calcite-components
Issues specific to the @esri/calcite-components package.
estimate - 1
Very small fix or change (potentially a single line), doesn't require updates to tests.
impact - p1 - need for current milestone
User set priority impact status of p1 - need for current milestone
no changelog entry
Use the commit override to avoid a changelog entry
p - high
Issue should be addressed in the current milestone, impacts component or core functionality
regression
Issues that are caused by changes in a release, but were working before that.
Milestone
Check existing issues
Actual Behavior
#10786 should include
half
in the updated types.Exclude
also needs to be corrected to be:instead of
See https://www.typescriptlang.org/docs/handbook/utility-types.html#extracttype-union.
Expected Behavior
Deprecated
half
is still valid in types.Reproduction Sample
https://stackblitz.com/edit/github-fxftrg?file=main.ts
Reproduction Steps
Open the repro case and notice the TS error.
Reproduction Version
3.0.0-next.40
Relevant Info
No response
Regression?
2.13.2
Priority impact
impact - p1 - need for current milestone
Impact
This will cause TS errors for existing use of the deprecated value.
Calcite package
Esri team
ArcGIS Online
The text was updated successfully, but these errors were encountered: