TypeScript definition file Q3 2014 SP1

2 posts, 0 answers
  1. Sean
    Sean avatar
    79 posts
    Member since:
    May 2007

    Posted 03 Feb 2015 Link to this post

    I am trying to upgrade my project from using Kendo UI Professional Q3 2014 to Q3 2014 SP1.  Once I upgraded, I started getting some compilation errors in my TypeScript files.  The type definition file (kendo.web.d.ts) has changed which is causing errors in my code.

    For example:
      1. kendo.bind() used to have an optional 3rd parameter "namespace", but in the latest version this parameter is no longer optional and is now required.
      2. kendo.toString() used to only take two parameters, now there is a third (required) parameter "culture"

    Those are the items that I have found using a simple test project that has some basic kendo controls, but I am worried that there may be more issues that I would find if I attempted to update a bigger/more complex project.

    Since this is a service pack release (SP1), I would assume that there would not be changes to the method signatures.  Was this just an oversight in the Type Definition file?  Or should we be prepared for interface to change even in service pack releases? 

    If this was just an oversight, can someone from Telerik provide the corrected type definition file?

    Thanks,
    Sean
  2. T. Tsonev
    Admin
    T. Tsonev avatar
    2817 posts

    Posted 05 Feb 2015 Link to this post

    Hello,

    That was definitely an oversight. It occurred as a result of build process tweaks, not by changes to the actual methods.
    The hotfix builds have this fixed starting from version 2014.3.1323 and later.

    Apologies for the caused inconvenience.

    Regards,
    T. Tsonev
    Telerik
     
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
     
Back to Top