Documentation
    Preparing search index...

    Interface UnitSystem

    The §40 record, verbatim in shape and read-only in fact.

    §40 writes the fields mutable; resolveUnitSystem returns a frozen value and the type says so, because a record that half the UI has captured and one component mutates is a bug with no good failure mode. Build a new one instead — it is four strings and two numbers.

    interface UnitSystem {
        angle: AngleUnit;
        length: LengthUnit;
        mass: MassUnit;
        scale: UnitScale;
        time: TimeUnit;
    }
    Index
    angle: AngleUnit
    length: LengthUnit
    mass: MassUnit
    scale: UnitScale
    time: TimeUnit