Branded
Branded<
TBrand> =string&object
Defined in: src/types/brands.ts:24
Internal helper: a phantom-typed string distinguishable by its brand tag.
Consumers should reference the exported branded types directly
(HexKey, ActorId, …), not this generic.
Type Declaration
Section titled “Type Declaration”[___brand]
Section titled “[___brand]”
readonly[___brand]:TBrand
Phantom marker that gives this string nominal identity at the type level.
Type Parameters
Section titled “Type Parameters”TBrand
Section titled “TBrand”TBrand extends string