Adding TypeScript

We installed TypeScript globally in Chapter 1, TypeScript Basics. In this section, we are going to install it locally within our project. Having TypeScript locally simplifies the build process a little bit.

We can install TypeScript just within our project by running the following command in the terminal:

npm install typescript --save-dev
The --save-dev command marks the TypeScript dependency as being only for development purposes.
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.226.177.86