Skip to main content

Type Alias: ReqMarker<Req>

type ReqMarker<Req> = object;

Typed requirement marker created by req<Req>(). Pass it as the second argument to defineModelMixin to declare that the base model must already contain the Req shape before the mixin is applied.

Type Parameters​

Type Parameter
Req extends object

Properties​

[reqMarkerBrand]​

readonly [reqMarkerBrand]: Req;