Type alias UnitFunctionDefinition<In, Out>

UnitFunctionDefinition<In, Out>: {
    fromUnit: ((x) => In);
    inputType?: (new (...args) => UnitValueType);
    outputType?: (new (...args) => UnitValueType);
    toUnit: ((x) => Out);
    unit: string;
}

Type Parameters

  • In
  • Out

Type declaration