⚠️ Internal: This API is not publically exported by the
package.
interface Brand { [BrandTypeId]: { readonly [k in string | symbol]: K }; } Type Parameters
in out K extends string | symbol
Properties
Readonly
[BrandTypeId]
[BrandTypeId]: {
readonly [k in string | symbol]: K
}
A generic interface that defines a branded type.
Since
2.0.0