Notice: The Monaca & Onsen UI Community Forum is shutting down.

For Onsen UI bug reports, feature requests and questions, please use the Onsen UI GitHub issues page. For help with Monaca, please contact Monaca Support Team.

Thank you to all our community for your contributions to the forum. We look forward to hearing from you in the new communication channels.

TypeScript Definition for Onsen v2.0?



  • Since v2.0 is RC now, will there be TypeScript Definition for Onsen v2.0?
    Cause I’ve noticed that there’s huge difference in ons-navigator NavigatorView’s methods and properties.

    For example, in v1.x, there is method getCurrentPage in NavigatorView, however, there’s no such method in v2.0 RC which makes my code compatibility fail.

    Thanks.


  • Onsen UI

    @paul Yeah, the d.ts is already done. I think we’ll make a PR to DefinitelyTyped repo in few days :)