medium-editor
medium-editor copied to clipboard
Typescript d.ts file
Hello everyone
It will be great if there's a d.ts definition for medium-editor to help typescript development.
I started a repo and create a d.ts file. But I don't have enough know-how about d.ts files.
Is there a someone to contribute?
https://github.com/orhanveli/medium-editor.d.ts
@orhanveli rather than hosting it in your own repo you should contribute a definition file to DefinitelyTyped. If there isn't a first-party solution from the library, that is the best place to contribute to.
@orhanveli the DefinitelyTyped version is missing some important things eg. Extension interface.
It would benefit a lot from a PR using your work.
Alternatively, if I'm not mistaken, TS 2.0+ now supports declaration files included in the original JS project. So it might worth thinking about including such work in the repo.