Type alias: BrandedType<Type, Name>
Ƭ BrandedType<Type
, Name
>: Type
& { __tag__
: Name
}
These type are used to create new nominal types
See https://spin.atomicobject.com/2018/01/15/typescript-flexible-nominal-typing/
Type parameters
Name |
---|
Type |
Name |