TypeScript fix needed

2 posts, 0 answers
  1. Matjaž
    Matjaž avatar
    81 posts
    Member since:
    Jul 2015

    Posted 31 Aug Link to this post

    Hi. There is an error in ProgressBarOptions definitions for value property:

    interface ProgressBarOptions {
            name?: string;
            animation?: ProgressBarAnimation;
            chunkCount?: number;
            enable?: boolean;
            max?: number;
            min?: number;
            orientation?: string;
            reverse?: boolean;
            showStatus?: boolean;
            type?: string;
            value?: number;  //should be number | boolean!!!!
            change?(e: ProgressBarChangeEvent): void;
            complete?(e: ProgressBarCompleteEvent): void;
        }

  2. Dimiter Madjarov
    Admin
    Dimiter Madjarov avatar
    2153 posts

    Posted 01 Sep Link to this post

    Hello Matjaž,

    Thank you for noticing this. Indeed the value option should allow boolean values too.

    Regards,
    Dimiter Madjarov
    Telerik by Progress
     
    Get started with Kendo UI in days. Online training courses help you quickly implement components into your apps.
     
  3. Kendo UI is VS 2017 Ready
Back to Top