This is a migrated thread and some comments may be shown as answers.

How to get access to the Typescript Definition File for KendoUI

3 Answers 257 Views
AppBuilder extension for Visual Studio
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Chris
Top achievements
Rank 1
Chris asked on 28 Oct 2013, 11:58 AM
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

3 Answers, 1 is accepted

Sort by
0
Accepted
Chris
Top achievements
Rank 1
answered on 28 Oct 2013, 12:21 PM
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 
0
Jaja
Top achievements
Rank 1
answered on 24 Apr 2014, 06:19 PM
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!
0
Kaloyan
Telerik team
answered on 29 Apr 2014, 02:14 PM
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!

 
Tags
AppBuilder extension for Visual Studio
Asked by
Chris
Top achievements
Rank 1
Answers by
Chris
Top achievements
Rank 1
Jaja
Top achievements
Rank 1
Kaloyan
Telerik team
Share this question
or