bpmn-io / bpmn-moddle

Read and write BPMN 2.0 XML from JavaScript.
MIT License
444 stars 162 forks source link

Include Typescript definitons in package #77

Closed ceisele-r closed 4 years ago

ceisele-r commented 4 years ago

Is your feature request related to a problem? Please describe

Since the types from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/bpmn-moddle are outdated/out of sync with this package (fromXML and toXML do not return Promises), would it be possible to include up to date typescript types directly in this package?

Describe the solution you'd like

We would prefer to have typescript definitions directly included in this package since they will then reflect the actual code and simplifies usage of the package.

Describe alternatives you've considered

An alternative would be to somehow try to keep the types from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/bpmn-moddle in sync with bpmn-moddle.

Additional context

N/A

nikku commented 4 years ago

I guess it makes sense to contribute to the definitely typed repository.

The API update is brand new and people simply did not have time to pull in the update, yet.

psteinroe commented 3 years ago

any update here?

nikku commented 3 years ago

Which update do you expect, given my previous comment?