Type alias Converter<Q, U>

Converter<Q, U>: {
    to(to): _LiteralToPrimitive<Q>;
    to<K>(to, kind?): BestConversion<Q, BestUnitsForUnit<U, K>>;
}

The return value from calling a conversion function.

Type Parameters

  • Q extends number | bigint

  • U extends Unit

Type declaration

Generated using TypeDoc