bustle/mobiledoc-kit

Typescript definitions

Closed this issue ยท 5 comments

Hi!

We are starting to use this and we would like to know if anyone has some typescript definitions done. It would be a great addition to the project and would make very easy for the newcomers to the project.

I can try to help to create them too

Hi @DavidBM, thank you for raising the issue. As far as I know, there are no Typescript definitions for mobiledoc-kit. Any initiative to get that effort started would be highly appreciated :-)

I just realized that there is a package that has started with the type for typescript.
https://github.com/bustle/mobiledoc-vdom-renderer/tree/master/types
Maybe asking to @dtetto for including them in the main project?

I also have a scrappy ~860 line TypeScript file, that partially describes the public API. I can link it here, if somebody needs it.

No guarantees about correctness and completeness though. ๐Ÿ™ˆ

Hi @DavidBM I think we could copy any typescript defs into this project. No issues copying code from other bustle repos into this one.