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 :)


Log in to reply