July 2017
Intermediate to advanced
454 pages
10h 1m
English
Start your migration process by introducing TypeScript, as you will be writing your code using TypeScript in Angular. Installing TypeScript into your Angular application is quite easy. Run the following command to install TypeScript from npm into your application and save the package information to package.json:
npm i typescript --save-dev
We also need to configure TypeScript, instructing it on transpiling the TypeScript code into ES5 code in the tsconfig.json file.
Finally, we need to add the following commands under the scripts section of package.json ...
Read now
Unlock full access