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