
Learn how TypeScript translates into JavaScript, offering a JavaScript-like language that is a little different and more approachable. Utilize TypeScript in Angular to compile apps into JavaScript files.
Install Node.js and npm to use TypeScript, then verify versions with node -v and npm -v, and update npm as needed before installing dependencies for this guide.
Install and configure typescript using npm, set up a ts project, compile with tsc, and run a live ts to js workflow with a local server.
Explore TypeScript classes, constructors, and methods, instantiate with typed parameters, and see how code compiles to JavaScript prototypes, including let usage and color methods.
Explore how TypeScript classes use inheritance to extend a base class and share behavior. Learn to implement constructors, super calls, and color properties with methods to get and set colors.
Learn how to declare variables in TypeScript with let and var, apply type annotations like string, number, boolean, and any, and understand why let is preferred.
Set up a local webpack workflow for a TypeScript project, configure an entry main.ts with ts-loader, and output a single bundle in dist, with an optional minified bundle.
Learn to organize TypeScript sources in a source directory, configure webpack and tsconfig includes, and implement a coffee class with constructor, super calls, and method overrides.
Create a package.json with npm init to describe your app, set the name, version, description, entry point, and scripts, then use npm run to run webpack, tests, and the server.
Learn to install and manage jQuery typings locally in a TypeScript project, configure ts config with typings, import jQuery as $, and bundle with webpack and npm scripts.
Explore how to start with TypeScript and Angular version 4, use TypeScript to build applications, and apply the methods covered in this series for front ends.
Coding pure JavaScript is a challenge. It's a BIG challenge. Especially for those of us who want to write effective and effecient code without all of the extra typing.
Enter TypeScript.
TypeScript is a JavaScript compiler. I'd argue it's essentially shorthand/shortcuts for writing pure JavaScript code. It's incredible how useful it can be.
TypeScript is modern, slick, and super easy to setup and use. It's also the basis for frameworks like Angular and Ionic both of which are absolute essentials in your web and mobile developer arsenal.
This course is designed to get you ready for our other course Try Angular. We want to ensure you learn and understand how to write Typescript so you can build awesome projects using Angular.
We hope you enjoy!