mirror of
https://github.com/josdejong/mathjs.git
synced 2026-01-25 15:07:57 +00:00
chore: remove unused parameter from Unit.createUnitSingle
This commit is contained in:
parent
f891381979
commit
ee5c261a36
@ -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 = {}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user