This repository contains the code and notes from the Microsoft Learn training module "Build JavaScript applications using TypeScript". This module provides a comprehensive introduction to using TypeScript to build robust and maintainable JavaScript applications.
For more information on TypeScript and the concepts covered in this module, refer to the following resources:
- TypeScript Official Documentation
- Microsoft Learn: Build JavaScript applications using TypeScript
- Installing Node JS
The training module covers the following key topics:
- What is TypeScript?
- Benefits of using TypeScript
- Differences between TypeScript and JavaScript
- Installing Node.js and npm
- Setting up a TypeScript project
- Configuring the TypeScript compiler
- Types and type annotations
- Interfaces and classes
- Functions and arrow functions
- Using TypeScript with existing JavaScript code = Leveraging JavaScript libraries in TypeScript
- Generics
- Decorators
- Type inference
- Export and Import module components
- Access external type libraries
- Organize code by using single-file namespaces
- Organize code by using multi-file namespaces
- Design Considerations