A generic type variable constrained by the , by default of the value captured from the supplied indicates the type of a new instance.
less.class.ts
class Less<
Value extends number // <--- Declare generic type variable Value.
> extends Number{
constructor(
value: Value // <--- Capture generic type variable Value.
) {
super(value);
}
}