Type alias Tagged<T, Tag>

Tagged<T, Tag>: T & _Tagged<Tag>

Tags a type using a custom defined tag to enable nominal typing

Returns

The tagged type

Type Parameters

Generated using TypeDoc