Typescript typing on window.title return value

9 posts, 0 answers
  1. Ben
    Ben avatar
    10 posts
    Member since:
    Oct 2015

    Posted 24 Feb 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
    2500 posts

    Posted 29 Feb 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. Kendo UI is VS 2017 Ready
  4. Ben
    Ben avatar
    10 posts
    Member since:
    Oct 2015

    Posted 10 Jun Link to this post

    Another typescript definition issue:

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

  5. Alex Gyoshev
    Admin
    Alex Gyoshev avatar
    2500 posts

    Posted 14 Jun 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.
     
  6. Ben
    Ben avatar
    10 posts
    Member since:
    Oct 2015

    Posted 19 Aug Link to this post

    Another typescript definition issue:

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

  7. Ben
    Ben avatar
    10 posts
    Member since:
    Oct 2015

    Posted 19 Aug in reply to Ben Link to this post

    *kendo.ui.dataviz.radialgauge.allValues
  8. Alex Gyoshev
    Admin
    Alex Gyoshev avatar
    2500 posts

    Posted 23 Aug 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.
     
  9. Ben
    Ben avatar
    10 posts
    Member since:
    Oct 2015

    Posted 31 Aug Link to this post

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

    Posted 05 Sep 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.
     
Back to Top
Kendo UI is VS 2017 Ready