FormatUnitSpec Interface

Defines a unit specification with a name and optional label override. Used in composite formats and ratio unit specifications.

Properties

Name Type Description
label Readonly string | undefined Optional custom label that overrides the unit's default label (e.g., '"' for inches, "'" for feet)  
name Readonly string The name of the unit (e.g., "Units.FT", "Units.IN")  

Defined in

Last Updated: 24 January, 2026