Interface FlavoredUnit<F, T>

A special flavored type for special types.

interface FlavoredUnit<F, T> {
    [typeSym]?: F;
    [valueSym]: T;
}

Type Parameters

  • F extends string
  • T

Properties

[typeSym]?: F
[valueSym]: T