The `Number` primitive wrapper object generic type variables
Last updated 1 year ago
Was this helpful?
Number<
Value
>
extends
A generic type variable constrained by the , by default of the value captured from the supplied indicates the type of a new instance.
class Number< Value extends number // <--- Declare generic type variable Value. > extends Inequality<Value> { constructor( value: Value // <--- Capture generic type variable Value. ) { super(value); } }
number
Number
value