Is maintenance of TypeScript definitions for DataTables 1.10 covered by a support contract?

Is maintenance of TypeScript definitions for DataTables 1.10 covered by a support contract?

xmojmrxmojmr Posts: 18Questions: 2Answers: 3

For use with TypeScript there are some definitions available at https://github.com/borisyankov/DefinitelyTyped/blame/master/jquery.dataTables/jquery.dataTables.d.ts but those definitions don't cover new API introduced in DataTables 1.10

What are my options for using DataTables 1.10 API with TypeScript?

  1. do I have to use any as data type
  2. or write TypeScript definitions myself
  3. or can I buy it through the support contract
  4. or ... ?

This question has an accepted answers - jump to answer

Answers

  • allanallan Posts: 63,691Questions: 1Answers: 10,500 Site admin
    Answer ✓

    Hi,

    The TypeScript definitions you link to are 3rd party and therefore are not covered by the support and maintenance options that I offer.

    I do plan to create TypeScript definitions for DataTables in future, so we could perhaps discuss a maintenance option effectively Bootstrapping that work if you are interested. Unfortunately I'm going to be traveling on holiday until Wednesday next week, so it wouldn't be until then that I could look into doing this properly though.

    Regards,
    Allan

  • EagleEagle Posts: 2Questions: 0Answers: 0

    Hi Allan,

    since October has passed several weeks/months ago, I'd like to ask if you did look into TypeScript definitions for 1.10?
    I'm really looking forward for 1.10 support as the current version of that package (0.0.6) isn't ready for it.

    Best regards,
    Martin

  • allanallan Posts: 63,691Questions: 1Answers: 10,500 Site admin

    Hi,

    Unfortunately I haven't had the time to look into this properly yet, however, you might be interested in this package which is maintained by a third party: https://www.nuget.org/packages/jquery.dataTables.TypeScript.DefinitelyTyped/ .

    Allan

  • EagleEagle Posts: 2Questions: 0Answers: 0

    Hi Allan,

    thank you for your reply.

    That's a pitty! But the project you've pointed to is, as I've said before, kinda outdated, because it doesn't support the new API model you introduced with 1.10. :(

    So, I'm still hoping for a definition provided by you in the near future.

    Best Regards,
    Martin

  • BineGBineG Posts: 1Questions: 0Answers: 0
    edited February 2015

    I created a definition for my project (not complete yet unfortunately). When I have some time I will create a pull request for DefinitelyTyped but for now here it is
    http://pastebin.com/raw.php?i=7vCj3V00

  • willdeanwilldean Posts: 1Questions: 0Answers: 0
    edited March 2015

    Here's another, untested, version which I put together - I tried to keep it in the same order as the online docs.

    If I can be bothered to fix-up all the broken tests I'll put in a PR on the DefTyped version...

    (I've taken this down for a minute because there was something wrong with the version on Pastebin - I'll put it back later)

  • MisiuMisiu Posts: 68Questions: 4Answers: 2

    @Allan as You wrote before You could create support option to get TypeScript definition that is always up to day and officially supported.
    I'm trying to learn TypeScript right now and having definition file that is created by You would be awesome.
    I guess everyone interested in definition file won't mind paying couple of $ for it, this could be even a reward for paying full forum access.

    This way You would get extra cash for Your hard work. Both sides will benefit from this.

  • allanallan Posts: 63,691Questions: 1Answers: 10,500 Site admin

    It certainly is something I would like to do. Time it the primary issue for me! It is on my todo list, but there are a number of things before it in the list at the moment.

    Allan

This discussion has been closed.