TYPE SCRIPT
About This Course
Course Overview :
TypeScript is a free and open source programming language developed and maintained by Microsoft. It is a strict superset of JavaScript, and adds optional static typing and class-based object-oriented programming to the language. .
Prerequisties
Course Content
- Introduction
- Introducing TypeScript
- Defining “JavaScript”
- Writing your first TypeScript function
- Configuring Your Environment
- Choosing your TypeScript editor
- Installing TypeScript
- Creating a TypeScript project
- ES6 Language Features
- Reviewing ES6 language features
- Default parameters
- Template strings
- Let and const
- For…of loops
- Lambdas
- Destructuring
- The spread operator
- Computed properties
- Type Fundamentals
- Introducing JavaScript types
- Understanding type inference
- Specifying JavaScript types
- Specifying function parameter types
- Adding function overloads
- Custom Types
- Defining custom types with interfaces
- Using interfaces to describe functions
- Extending interface definitions
- Defining constant values with enums
- Defining anonymous types
- Classes
- Understanding prototypical inheritance
- Defining a class
- Applying static properties
- Making properties smarter with accessors
- Inheriting behavior from a base class
- Implementing an abstract class
- Controlling visibility with access modifiers
- Implementing interfaces
- Generics
- Introducing generics
- Creating generic classes
- Applying generic constraints
- Modules
- Understanding the need for modules in JavaScript
- Organizing your code with namespaces
- Using namespaces to encapsulate private members
- Understanding the difference between internal and external modules
- Switching from internal to external modules
- Importing modules using CommonJS syntax
- Importing modules using ECMAScript 2015 syntax
- Loading external modules
- Real-World Application Development
- Introducing the sample JavaScript application
- Converting existing JavaScript code to TypeScript
- Generating declaration files
- Referencing third-party libraries
- Converting to external modules
- Debugging TypeScript with source maps
- Decorators
- Implementing method decorators
- Implementing class decorators
- Implementing property decorators
- Implementing decorator factories