Type alias Opaque<Base, Brand>

Opaque<Base, Brand>: Base & {
    [brand]: Brand;
}

Type Parameters

  • Base

  • Brand extends symbol