Type alias Opaque<K, T>

Opaque<K, T>: T & {
    [brand]: K;
}

Opaque types are wrappers of existing types that require smart constructors

Type Parameters

  • K

  • T

Generated using TypeDoc