Numeric truncation error High

When a primitive is cast to a smaller primitive, the high order bits of the larger value are lost in the conversion, potentially resulting in an unexpected value that is not equal to the original value.

Detector ID
typescript/numeric-truncation-error@v1.0
Category
Common Weakness Enumeration (CWE) external icon