jQuery UI Widgets Forums Angular undefined properties in jqwidgets.d.ts

This topic contains 6 replies, has 5 voices, and was last updated by  Ivo Zhulev 5 years, 1 month ago.

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
  • undefined properties in jqwidgets.d.ts #98071

    MattB
    Participant

    I downloaded 5.5.0 the other day as I attempt to convert my angular 4 app to angular 5.
    When trying to set up components, the typescript compiler in VS 2017 throws an error that some properties are not defined.

    let settings: jqwidgets.TreeOptions = {
    width: ‘100%’,
    height: ‘100%’,
    theme: ‘custom’,
    source: this.data,
    };

    This will throw an error because the theme property in jqwidgets.d.ts is undefined. If I change it to “theme?: string” the error goes away. About 1/2 of all the properties in the file are undefined. This is different from previous versions. Is this by design?
    Thanks. Matt

    undefined properties in jqwidgets.d.ts #98072

    aheile
    Participant

    I too have this question, as I am receiving several errors about types being incompatible, Type ‘string’ is not assignable to type ‘undefined’, etc.
    Thank you!

    undefined properties in jqwidgets.d.ts #98098

    Ivo Zhulev
    Participant

    Hi gyes,

    Sorry for the inconvenience. This will be okay for the next release!

    Best Regards,
    Ivo

    jQWidgets Team
    http://www.jqwidgets.com/


    areisyus
    Participant

    What about this issue? its about 2 months from report, there is a 5.6 version already and the issue is still there.

    Was thinking about getting a license for some projects but with this issue is impracticable to use jqWidgets on angular. Most of the setters are affected by this.

    Could you guys provide some roadmap or issue tracker? Would be helpful if we submit some pull request on it? because I saw some pull requests with more than a month waiting…

    tnx


    Ivo Zhulev
    Participant

    Hi areisyus,

    We will consider this. As for the update, its expected to be in the end of the next week.

    Best Regards,
    Ivo

    jQWidgets Team
    http://www.jqwidgets.com/


    rjwijnen
    Participant

    Any update on this? We are more than two weeks further now.


    Ivo Zhulev
    Participant

    Hi rjwijnen,

    We will release an update when Angular Team release v.6.0.0(which must happen today).

    Best Regards,
    Ivo

    jQWidgets Team
    http://www.jqwidgets.com/

Viewing 7 posts - 1 through 7 (of 7 total)

You must be logged in to reply to this topic.