TypeScript Fundamentals
TypeScript Fundamentals walks you through the key concepts and features that you need to know to get started with TypeScript, and use it to build large (and small) scale JavaScript applications. Updated March 25, 2016 for TypeScript 1.8.
What you'll learn
TypeScript is an open source language that provides support for building enterprise scale JavaScript applications. Although several patterns exist that can be used to structure JavaScript, TypeScript provides container functionality that object-oriented developers are familiar with, such as classes and modules.
It also supports strongly-typed code to ensure inappropriate values aren't assigned to variables in an application.
This course will walk you through the key concepts and features that you need to know to get started with TypeScript, and use it to build enterprise scale JavaScript applications. You'll learn the role that TypeScript plays as well as key features that will help jump-start the learning process.
Table of contents
- Course Introduction 2m
- Introduction 1m
- Why use TypeScript? 8m
- TypeScript Features 9m
- TypeScript Syntax, Keywords, and Code Hierarchy 5m
- Tooling and Framework Options 2m
- Tooling and Framework Options - TypeScript Playground 3m
- Tooling and Framework Options - Visual Studio 3m
- Tooling and Framework Options - Web Essentials 2m
- Tooling and Framework Options - Sublime Text 5m
- Tooling and Framework Options - TypeScript Compiler 2m
- Tooling and Framework Options - NodeJS 5m
- Hello World Example 0m
- Hello World Example - Creating a Class 8m
- Summary 2m
- Overview 1m
- Grammar, Declarations, and Annotations 5m
- Type Inference 6m
- Grammar 6m
- Static and Dynamic Typing 5m
- Compile Time or Run Time 3m
- Ambient Declarations and Type Definition Files 6m
- The Any Type and Primitives 3m
- Applying Types 7m
- Objects 9m
- Functions 2m
- Arrow Functions and Debugging 7m
- Functions and Interfaces 11m
- Static Typing Recap 1m
- Introduction 1m
- Defining Classes 10m
- Demo: Defining Classes 9m
- Demo: Property Limitations 3m
- Casting and Type Definition Files 3m
- Demo: Casting and Type Definition Files 6m
- Extending Types 5m
- Demo: Extending Types 14m
- Using Interfaces 7m
- Demo: Using Interfaces 9m
- Extending an Interface 2m
- Demo: Extending an Interface 8m
- Summary 2m
- Overview 1m
- Identifying a Module 2m
- Creating an Internal Module 7m
- Internal Module Accessibility and IIFE 4m
- Named Modules 6m
- Extending Modules and Importing Shortcuts 5m
- Organizing Internal Modules 3m
- Separating Internal Modules 7m
- External Modules and Dependency Resolution 5m
- Module Dependencies 5m
- Importing External Modules Using AMD 10m
- Importing 3rd Party Libraries Using AMD 3m
- Modules Recap 2m
Course FAQ
TypeScript is a programming language developed by Microsoft that is a superset of JavaScript. It is designed for developing enterprise scale JavaScript applications.
The main difference is that JavaScript is a scripting language used to make interactive web pages and applications, while TypeScript is a superset of JavaScript. Other differences include:
- TypeScript code needs to be compiled, but JavaScript does not
- TypeScript uses types and interfaces while JavaScript does not
- TypeScript has some additonal features for functions
- TypeScript has a certain feature of prototyping that JS does not
In this TypeScript tutorial you will learn the key concepts and features to get started building applications with TypeScript. Topics that are covered include:
- What is TypeScript and why use it?
- TypeScript features, syntax, and keywords
- Tooling and Framework Options
- How to create a class
- TypeScript variables and functions
- TypeScript declarations
- TypeScript classes and interfaces
- Much more
This course is for anyone and everyone who wants to learn TypeScript! It will be especially useful for anyone wanting to build large scale JavaScript applications.
This is a beginner level TypeScript tutorial, however, a knowledge of JavaScript will be very helpful. If you have no exposure to JavaScript you should consider taking one of Pluralsight's several JavaScript courses, either before or after this course.