Typescript typing on window.title return value

13 posts, 0 answers
  1. Ben
    Ben avatar
    12 posts
    Member since:
    Oct 2015

    Posted 24 Feb 2016 Link to this post

    Hello

    I think there are some incorrect typescript typings for kendo.ui.window.title(). The description of the logic on the API reference implies it can either:

    • Be passed a new title and return the window
    • Be passed nothing and return the current title

    In the typings file it is listed as follows:

    title(): kendo.ui.Window;

    title(text?: string): void;

    I think the correct typings should be:

    title(): string;
    title(text?: string): kendo.ui.Window
    ;

  2. Alex Gyoshev
    Admin
    Alex Gyoshev avatar
    2512 posts

    Posted 29 Feb 2016 Link to this post

    Hello Ben,

    Thank you for the feedback. Indeed, this is the correct method signature, and it has been logged for fixing in upcoming versions of the typescript definitions.

    Regards,
    Alex Gyoshev
    Telerik
     
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
     
  3. Ben
    Ben avatar
    12 posts
    Member since:
    Oct 2015

    Posted 10 Jun 2016 Link to this post

    Another typescript definition issue:

    kendo.ui.multiselect.toggle() requires a Boolean parameter however I think that parameter should be optional.

  4. Alex Gyoshev
    Admin
    Alex Gyoshev avatar
    2512 posts

    Posted 14 Jun 2016 Link to this post

    Hello Ben,

    Thank you for reporting this, it has been fixed for the next internal build.

    Regards,
    Alex Gyoshev
    Telerik
     
    Get started with Kendo UI in days. Online training courses help you quickly implement components into your apps.
     
  5. Ben
    Ben avatar
    12 posts
    Member since:
    Oct 2015

    Posted 19 Aug 2016 Link to this post

    Another typescript definition issue:

    kendo.ui.dataviz.allValues requires an Array parameter however i think that parameter should be optional

  6. Ben
    Ben avatar
    12 posts
    Member since:
    Oct 2015

    Posted 19 Aug 2016 in reply to Ben Link to this post

    *kendo.ui.dataviz.radialgauge.allValues
  7. Alex Gyoshev
    Admin
    Alex Gyoshev avatar
    2512 posts

    Posted 23 Aug 2016 Link to this post

    Hello Ben,

    Thank you for reporting this, it has been addressed for the next internal build.

    Regards,
    Alex Gyoshev
    Telerik by Progress
     
    Get started with Kendo UI in days. Online training courses help you quickly implement components into your apps.
     
  8. Ben
    Ben avatar
    12 posts
    Member since:
    Oct 2015

    Posted 31 Aug 2016 Link to this post

    Another one: kendo.support.browser is missing edge as an option
  9. Rumen
    Admin
    Rumen avatar
    13056 posts

    Posted 05 Sep 2016 Link to this post

    Hi,

    Thank you for reporting this!

    Best regards,
    Rumen
    Telerik by Progress
     
    Get started with Kendo UI in days. Online training courses help you quickly implement components into your apps.
     
  10. Ben
    Ben avatar
    12 posts
    Member since:
    Oct 2015

    Posted 06 Apr Link to this post

    Kendo.ChartCategoryAxisItem.axisCrossingValues and Kendo.ChartValueAxisItem.axisCrossingValues have duplicate "any" in their typings:

    any|Date|any

  11. Ianko
    Admin
    Ianko avatar
    1699 posts

    Posted 10 Apr Link to this post

    Hello Ben,

     

    This is a side effect of the TypeScript definition generation script utilized. The described behavior does not lead to wrong intellisense hints or failures with the TypeScript compilation.  

     

    Regards,
    Ianko
    Telerik by Progress
    Try our brand new, jQuery-free Angular 2 components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
  12. Ben
    Ben avatar
    12 posts
    Member since:
    Oct 2015

    Posted 1 day and 11 hours ago Link to this post

    Another one: kendo.ui.multiselect.tagTemplate is listed as string when it can also be a template function:

    http://docs.telerik.com/kendo-ui/api/javascript/ui/multiselect#configuration-tagTemplate

  13. Ianko
    Admin
    Ianko avatar
    1699 posts

    Posted 16 hours ago Link to this post

    Hello Ben,

    We just fixed that. Thanks for noticing. The tagTemplate options will be updated in the ts.def file with the next release. 

    Regards,
    Ianko
    Progress Telerik
    Try our brand new, jQuery-free Angular 2 components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
Back to Top