How to get access to the Typescript Definition File for KendoUI

4 posts, 2 answers
  1. Answer
    Chris
    Chris avatar
    4 posts
    Member since:
    Mar 2011

    Posted 28 Oct 2013 Link to this post

    I would like to use Typescript while building my cross platform hybrid applications using Icenium.

    I see from the documentation at http://docs.kendoui.com/howto/typescript/overview  that it indicates it is available from the distriction... "Each Kendo UI distribution includes a typescript directory which contains a .d.ts file i.e. kendo.all.d.ts. Copy that file in your project."

    Can we get access to this distribution when creating our applications using Icenium?  How can one go about downloading these files?

    Best Regards,

    Chris
  2. Answer
    Chris
    Chris avatar
    4 posts
    Member since:
    Mar 2011

    Posted 28 Oct 2013 Link to this post

    I found a way to get these files by downloading the Complete Trial package.  The trial download includes the typescript file that I needed.

    Thanks,

    Chris 
  3. Jaja
    Jaja avatar
    8 posts
    Member since:
    May 2013

    Posted 24 Apr 2014 in reply to Chris Link to this post

    Hi Chris, could you elaborate on how you were able to use TypeScript with Icenium/AppBuilder?  I'm assuming you're using the Icenium Visual Studio extension but from what I can tell there is no way to add a typescript file to the icenium project.  Are you using a separate typescript project to code in and simply sharing the files between the two projects?  Interested to know how its been working for you, thanks!
  4. Kaloyan
    Admin
    Kaloyan avatar
    872 posts

    Posted 29 Apr 2014 Link to this post

    Hello Jaja,

    The official TypeScript support within AppBuilder is scheduled for version 2.2. It should be released in June, this year and it will cover all of the AppBuilder clients.

    Until then, the only way to benefit from TypeScript in AppBuilder projects is within Visual Studio. You will need the TypeScript Extension installed. Then, inside Visual Studio from TOOLS > Options, go to Text Editor > TypeScript > Project and click on "Aromatically compile TypeScript files which are not part of a project" > "Use amd code generation for modules that are not part of a project". After this, include your ts file and select its action to TypeScriptCompile. This will allow the compilation of a js file from the referred TypeScript library upon save. Finally, you will need to add the javascript to your project.

    I hope this helps.

    Regards,
    Kaloyan
    Telerik
     

    Share what you think about AppBuilder and Telerik Platform with us in our feedback portal, so we can become even better!

     
Back to Top