Home > @skunkteam/types > Unbranded
Unbrand a given type (not recursive).
Signature:
type Unbranded<T> = T extends WithBrands<infer Base, any> ? Base : T;
References: WithBrands
Home > @skunkteam/types > Unbranded
Unbrand a given type (not recursive).
Signature:
type Unbranded<T> = T extends WithBrands<infer Base, any> ? Base : T;
References: WithBrands