type-plus
    Preparing search index...

    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
    Index

    Properties

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