Description
In this course, you will :
- demonstrates how to use the full power of the TypeScript language in JavaScript applications. Revisit some JavaScript fundamentals before moving on to TypeScript's data types, classes, generics, modules, and decorators.
- Learn how to define complex types, extend and extract metadata from existing types, and work with JavaScript modules to improve the efficiency of your code.
- You can even put your new TypeScript skills to the test by completing the practise challenges along the way.
Syllabus :
1. Introducing TypeScript to Your Application
- Installing TypeScript
- Adding TypeScript to an existing solution
- Adding type checking to JavaScript files
- Importing third-party types
2. Basic TypeScript Usage
- Primitives and built-in types
- Creating custom types with interfaces
- Defining types using type aliases
- Defining enumerable types
- Typing functions
- Defining a metatype using generics
3. Defining More Complex Types
- Combining multiple types with union types
- Keyof operator
- Typeof operator
- Indexed access types
- Defining dynamic but limited types with records
4. Extending and Extracting Metadata from Existing Types
- Extending and modifying existing types
- Extracting metadata from existing types
5. Adding Dynamic Behavior with Decorators
- What are decorators and why are they helpful?
- Creating a method decorator
- Creating decorator factories
- Creating a class decorator
- Creating a property decorator
6. Working with Modules
- Share code with imports and exports
- Defining global types with ambient modules
- Declaration merging
- Executing modular code