Skip to content

Methods and fields for Unit are missing from Typescript interface #2353

@lorenz-h

Description

@lorenz-h

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

interface Unit {

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions