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

TypeScript Definitions

3 Answers 88 Views
TreeView
This is a migrated thread and some comments may be shown as answers.
mgs
Top achievements
Rank 1
mgs asked on 17 Mar 2013, 03:05 PM
The TypeScript definitions for TreeView should be checked. Some seem to be wrong. For example...

  • The parameter's datatype of "collapse" is not string.
  • The parameter's datatype of "expand" is not string,
  • The return datatype of "dataItem" is not void.
Michael G. Schneider

3 Answers, 1 is accepted

Sort by
0
Alex Gyoshev
Telerik team
answered on 18 Mar 2013, 09:13 AM
Hello Michael,

Thank you for reporting these. We have fixed them in the attached typescript definitions.

Regards,
Alex Gyoshev
the Telerik team
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
0
mgs
Top achievements
Rank 1
answered on 18 Mar 2013, 09:39 AM
Hello Alex,

thanks a lot for the file. I used it with my current development, and the following problems came up.
  • The method "Router.navigate" has an optional parameter "silent". It is missing in the definition.
  • In the definition file the method "Layout.render" is inherited from "View.render". There a parameter "container?: JQuery" is defined. However, the parameter can also be a selector.
Probably other problems will be seen, if TypeScript is used more. I suggest you create a new Forum, for discussing TypeScript related questions. In this forum the definition file should be posted whenever needed. The file should not only be released with the default release cycle.

Michael G. Schneider
0
Accepted
Alex Gyoshev
Telerik team
answered on 18 Mar 2013, 04:38 PM
Hello Michael,

The two problems will be addressed with the official release. We appreciate the feedback, and will consider your suggestion for a new forum.

Greetings,
Alex Gyoshev
the Telerik team
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Tags
TreeView
Asked by
mgs
Top achievements
Rank 1
Answers by
Alex Gyoshev
Telerik team
mgs
Top achievements
Rank 1
Share this question
or