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

Kendo mobile Application Typescript declaration constructor incorrect

1 Answer 61 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Ken
Top achievements
Rank 1
Ken asked on 17 Apr 2013, 01:38 PM
The mobile Application class constructor should start with an HTMLElement parameter. Currently you have:

module kendo.mobile {
    class Application extends Observable {
        constructor(options?: ApplicationOptions);
should be:

constructor(element?: HTMLElement, options?: ApplicationOptions);

This is the second error I found. First was:
Typescript definition for kendo mssing ns property

Note that this is KENDO MOBILE. Please provide a kendo.mobile.d.ts for that! In my previous thread you said to rename the kendoui one. That, of course, will not work.

1 Answer, 1 is accepted

Sort by
0
Atanas Korchev
Telerik team
answered on 18 Apr 2013, 07:17 AM
Hello Kenneth,

 You can check this forum thread: http://www.kendoui.com/forums/mobile/application/typescript-definition-file-incorrect-for-kendo-mobile-application.aspx

 The kendo.mobile.d.ts file as well as the fix for this issue is available in the latest internal build: 2013.1.416

Regards,
Atanas Korchev
the Telerik team
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Tags
General Discussions
Asked by
Ken
Top achievements
Rank 1
Answers by
Atanas Korchev
Telerik team
Share this question
or