linked-rolls
    Preparing search index...

    Type Alias Quantity<U>

    Quantity: number & { "[unit]": U }

    A number in a unit, the unit carried in the type alone: at runtime it is the plain number it was made from. A number becomes a quantity only through a constructor such as mm or track, and a quantity in one unit cannot stand in for one in another.

    Type Parameters

    • U extends string