Add Typescript Declarations#120
Conversation
|
If you see any problems with the typings given here, or if you have any idea of the right way to test this, I'm happy to hear it. One thing I was thinking is rewriting one or more examples to use Typescript instead, and check that the usage of the library matches them. |
|
@naerbnic If you write some examples for the README.md then I think this is good to merge, right? |
|
I don't think tests are required. However, these definitions would need updating any time we make changes to our API. Do we have the manpower+discipline+expertise to keep these definitions up to date? @clarkie @dangerginger |
|
There is a declaration file and example usage available in DefinitelyTyped ( |
Added index.d.ts that contains the typings (as I have read them) from the rest of the library.