mobiledoc-kit icon indicating copy to clipboard operation
mobiledoc-kit copied to clipboard

Typescript definitions

Open DavidBM opened this issue 7 years ago • 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.

DavidBM avatar Sep 23 '18 19:09 DavidBM

I can try to help to create them too

DavidBM avatar Sep 25 '18 18:09 DavidBM

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 :-)

YoranBrondsema avatar Sep 25 '18 18:09 YoranBrondsema

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?

DavidBM avatar Sep 26 '18 13:09 DavidBM

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. 🙈

apfelbox avatar Nov 29 '18 11:11 apfelbox

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

reconbot avatar Dec 03 '18 18:12 reconbot