chore: remove unused parameter from Unit.createUnitSingle

This commit is contained in:
Jos de Jong 2022-10-18 10:07:04 +02:00
parent f891381979
commit ee5c261a36

View File

@ -3139,14 +3139,9 @@ export const createUnitClass = /* #__PURE__ */ factory(name, dependencies, ({
* base unit, the name of the newly create base unit. Otherwise, this property
* has no effect.
*
* @param {Object} options (optional) An object containing any of the following
* properties:
* - override {boolean} Whether this unit should be allowed to override existing
* units.
*
* @return {Unit}
*/
Unit.createUnitSingle = function (name, obj, options) {
Unit.createUnitSingle = function (name, obj) {
if (typeof (obj) === 'undefined' || obj === null) {
obj = {}
}