TypeScript is a powerful, fun, and popular programming language used for building browser and NodeJS applications. This course will teach you all of the most important features of TypeScript, and quickly make you productive with the language.
Creating and Using Custom Types Hi. This is Brice Wilson. So far in this course I've shown you lots of ways to use the built-in TypeScript types that help you write better code with fewer errors. It turns out that you can get all of the same great type checking support with your own custom types as well. Object oriented developers should feel right at home with the topics in this module, but don't worry if it's all new to you. I'll cover everything you need to know. Creating your own custom types is really all about two TypeScript language features, interfaces and classes. It's only two features, but they're really big features. I'll first explain the differences between the two and when you might use one over the other. I'll then get into the details and show you how to create and use them in your apps. Along the way we'll take a brief detour as I show you how to configure TypeScript projects to support multiple source files, but let's start by looking at the differences in classes and interfaces.
Creating and Consuming Modules Hey everybody. Welcome back. In this course module I'm going to cover TypeScript modules. TypeScript adopted the very straightforward ES2015 module syntax, and I'll show you how to use it, along with some features specific to TypeScript that will help you create and consume modules in your applications. I'll start off with a brief explanation of why you might want to use modules in TypeScript. Since not all browsers natively support modules yet I'll also quickly go over some of the supporting technologies you may have to employ in order to use your TypeScript modules in a browser application. I'll then cover the syntax you use to import and export modules and wrap up with an explanation of how TypeScript resolves the location of the modules you import.