Medium-editor: Typescript d.ts file

Created on 26 Aug 2016  路  2Comments  路  Source: yabwe/medium-editor

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

enhancement question

Most helpful comment

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

All 2 comments

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

Was this page helpful?
0 / 5 - 0 ratings

Related issues

nicks picture nicks  路  3Comments

keligijus picture keligijus  路  4Comments

adriendlph picture adriendlph  路  4Comments

sPaCeMoNk3yIam picture sPaCeMoNk3yIam  路  5Comments

taiji202 picture taiji202  路  6Comments