I got these problems with the last version of ionic2 with typescript and after two days of research i post here :
as you can see, the function present of nav is not found, i dont see why : there is my code (pretty simple) :
Second problem :
In the pastebin (in onLoginSuccess and onLoginFail), i must use LoginPage.prototype.showAlert to use this function, why cant i just use this.showAlert directly ? (when i do that, i got a this.showAlert is not a function).
Thanks for your help !
EDIT : i forgot the info :
Your system information:
Cordova CLI: 6.0.0
Ionic Version: 2.0.0-beta.2
Ionic CLI Version: 2.0.0-beta.19
Ionic App Lib Version: 2.0.0-beta.9
OS: Windows 7 SP1
Node Version: v4.2.3