Both operands must share the same numeric type: a number mixed with a bigint is reported rather than silently
coerced. The shared type parameter rules out mixed operands at compile time, so a mixed pair is only reachable
where the type parameter widens to the whole numeric union.
Type Parameters
Vextendsnumber|bigint
The numeric type shared by the operands and by the difference
Subtracts a numeric value from another.
Both operands must share the same numeric type: a
numbermixed with abigintis reported rather than silently coerced. The shared type parameter rules out mixed operands at compile time, so a mixed pair is only reachable where the type parameter widens to the whole numeric union.