Typescript Declarations
Typescript Declarations
We use a lot of Typescript at work but we miss having up-to-date type declaration files for DataTables.
DefinitelyTyped has most of the API covered, but their type declarations contain errors, they don't cover the latest version and they don't cover plugins.
https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/jquery.dataTables
The Editor plugin has no declarations anywhere, not even on DefinitelyTyped. It's unclear if Editor's license even allows other parties to publish (unofficial) type declarations.
Is there a chance we will ever see official declaration files for DataTables in Typescript projects? Or is there a chance you will help the community and send pull requests to DefinitelyTyped when you release new versions?
This question has an accepted answers - jump to answer
Answers
Yes, this is most certainly something I want to add to the official repos. I've been using TypeScript a lot myself recently and think this will be a useful addition.
Unfortunately I've simply not had time to do it yet and with my commitments to releasing Editor 1.6 and various other versions, I'm not yet certain when I will be able to find time to do it.
Regards,
Allan