Build JavaScript applications using TypeScript
- Offered byMicrosoft
Build JavaScript applications using TypeScript at Microsoft Overview
Duration | 7 hours |
Total fee | Free |
Mode of learning | Online |
Schedule type | Self paced |
Difficulty level | Intermediate |
Official Website | Explore Free Course |
Credential | Certificate |
Build JavaScript applications using TypeScript at Microsoft Course details
- Get started with TypeScript
- Declare variable types in TypeScript
- Implement interfaces in TypeScript
- Develop typed functions by using TypeScript
- Declare and instantiate classes in TypeScript
- Define generics in TypeScript
- Access external libraries from TypeScript
- Organize code using TypeScript namespaces
- In this learning path, you’ll learn how using TypeScript for JavaScript development can help you build more robust code, reduce runtime type errors, take advantage of modern features before they are available in JavaScript, and work better with development teams
- This course introduces you to the TypeScript language, why it was created, and how to use it for JavaScript development
- You'll also set up a TypeScript development environment for future exercises
- This course introduces some of the available types and shows how to associate them with variables
Build JavaScript applications using TypeScript at Microsoft Curriculum
Get started with TypeScript
Introduction
Overview of TypeScript
Exercise - Select a TypeScript editor
Exercise - Install the TypeScript compiler
Compile a TypeScript file
Exercise - Set up a TypeScript project
Knowledge check
Summary
Declare variable types in TypeScript
Introduction
Overview of types in TypeScript
Primitive types in TypeScript
Exercise - enums
Any and unknown types in TypeScript
Union and intersection types in TypeScript
Collection types in TypeScript
Lab - Use types in TypeScript
Knowledge check
Summary
Implement interfaces in TypeScript
Introduction
Overview of interfaces in TypeScript
Exercise - Declare and instantiate an interface in TypeScript
Exercise - Extend an interface in TypeScript
Other ways to use interfaces in Typescript
Lab - Use interfaces in TypeScript
Knowledge check
Summary
Develop typed functions by using TypeScript
Introduction
Create functions in TypeScript
Exercise - Create functions
Fun with parameters
Exercise - Fun with parameters
Exercise - Define function types
Lab - Use functions in TypeScript
Knowledge check
Summary and resources
Declare and instantiate classes in TypeScript
Introduction
Introduction to classes in TypeScript
Exercise- Create a class
Exercise - Instantiate a class
Access modifiers
Exercise - Apply access modifiers to a class
Define static properties
Extend a class using inheritance
Exercise - Extend a class
Exercise - Declare an interface to ensure class shape
Design considerations
Lab - Convert three TypeScript functions to a class definition
Knowledge check
Summary
Define generics in TypeScript
Introduction
Introduction to generics
Use the methods and properties of a generic type
Exercise - Implement generics with interfaces and classes
Implement generics with custom types and classes
Lab - Declare a class by using a generic
Knowledge check
Summary
Access external libraries from TypeScript
Introduction
Organize code with modules
Exercise - Export and import module components
Exercise - Compile modules
Exercise - Access external type libraries
Lab - Export and import module components
Knowledge check
Summary
Organize code using TypeScript namespaces
Introduction
Introduction to TypeScript namespaces
Exercise - Organize code by using single file namespaces
Organize code by using multi-file namespaces
Design considerations
Lab - Organize code with namespaces
Knowledge check
Summary