Interface FlavoredUnit<F, T>

A special flavored type for special types.

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

Type Parameters

  • F extends string
  • T

Properties

"[typeSym]"?: F
"[valueSym]": T