# Generic type variables

### `Minimum<`<mark style="color:green;background-color:green;">`Value`</mark>`>`

#### <mark style="color:green;">`Value`</mark>`extends`[<mark style="color:green;">`number`</mark>](https://www.typescriptlang.org/docs/handbook/basic-types.html#number)

​A generic type variable constrained by the [`number`](https://www.typescriptlang.org/docs/handbook/basic-types.html#number), by default of the value **captured** from the supplied [`value`](https://range.angular-package.dev/draft/constructor#value-value) indicates the [primitive value](https://range.angular-package.dev/draft/less/methods/valueof) type of a new [`Minimum`](https://range.angular-package.dev/draft/minimum) instance.

{% code title="minimum.class.ts" %}

```typescript
class Minimum<
  Value extends number // <--- Declare generic type variable Value.
> extends Inequality<Value> {
  constructor(
    value: Value // <--- Capture generic type variable Value.
  ) {
    super(value);
  }
}
```

{% endcode %}
