TypeScript fix needed

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

    Posted 31 Aug 2016 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
    Dimiter Madjarov avatar
    2226 posts

    Posted 01 Sep 2016 Link to this post

    Hello Matjaž,

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

    Dimiter Madjarov
    Telerik by Progress
    Get started with Kendo UI in days. Online training courses help you quickly implement components into your apps.
Back to Top