Package: effect Module: Brand
effect
Brand
A utility type to extract a branded type from a Brand.Constructor.
Brand.Constructor
Signature
type FromConstructor<A> = A extends Brand.Constructor<infer B> ? B : never
Source
Since v2.0.0