
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.
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!