Interface Branded<B, T>

A branded type of B with value of T.

interface Branded<B, T> {
    [typeSym]: B;
    [valueSym]: T;
}

Type Parameters

  • B extends string
  • T

Properties

[typeSym]: B
[valueSym]: T