function one (typeOfValue) {
    // TODO: this is a workaround to prevent the following BigNumber conversion error from throwing:
    //  "TypeError: Cannot implicitly convert a number with >15 significant digits to BigNumber"
    //  see https://github.com/josdejong/mathjs/issues/3450
    //      https://github.com/josdejong/mathjs/pull/3375
    const convert = Unit._getNumberConverter(typeOf(typeOfValue))

    return convert(1)
  }
Create a value one with the numeric type of `typeOfValue`.
For example, `one(new BigNumber(3))` returns `BigNumber(1)`
@param {number | Fraction | BigNumber} typeOfValue
@returns {number | Fraction | BigNumber}