Converting ECMAScript 6 to TypeScript in Ionic 2



By Josh Morony

When building an Ionic 2 application you have a choice between using regular ECMAScript 6 syntax, or TypeScript. If you’re unfamiliar with what these are I’d recommend reading Intro to ECMAScript 6 and Angular 2 for Ionic Developers and for a little more context on what some of the issues are around the two options I’d recommend reading Ionic 2: TypeScript vs ECMAScript 6.

To create a regular ES6 project you would start an Ionic 2 project with the following command:

Read full article...

Share on Google Plus

About www. codeandyou.com

This is a short description in the author block about the author. You edit it by entering text in the "Biographical Info" field in the user admin panel.
    Blogger Comment
    Facebook Comment

0 comments :

Post a Comment