Hi Everyone!
I would like to use Unit.simplify() and Unit.units in my Typescript code but they are not present in the typescript interface. Is there any reason for this? The use case is figuring out if a unit is relative (e.g. kWh/kg, km/s) or absolute (e.g. m*s, kg).
If this is not intentional I would be happy to create a PR and add them to
Hi Everyone!
I would like to use Unit.simplify() and Unit.units in my Typescript code but they are not present in the typescript interface. Is there any reason for this? The use case is figuring out if a unit is relative (e.g. kWh/kg, km/s) or absolute (e.g. m*s, kg).
If this is not intentional I would be happy to create a PR and add them to
mathjs/types/index.d.ts
Line 3124 in 4ce7185