
About Course
TypeScript is an add-on to the JavaScript language and is considered a separate programming language. It fixes most of the problems with standard JS by making code predictable, extensible, and safer. And this is exactly what you need when working in large projects and teams. For this reason, all leading companies list it as a required skill. By learning TS here, you won’t just add it to your resume as a check mark. You will understand the reasons for its creation, the problems it solves, the patterns that can be used with it, you will start thinking ahead: how not to harm yourself and other developers in the future. And you will understand all the hype about this language
What Will You Learn?
- Find out why TypeScript is needed and why it is so popular
- Learn basic TypeScript concepts and principles, from the simplest to the most complex
- Learn to type your code correctly, without future consequences
- Learn to think in types, not just put them in
- Get an answer to the question: "Should I include TS in my project?"
- Fix all knowledge about types in practice
Course Content
Introduction
-
How to take this course
-
About code editors, materials and links + TS summary
-
Advanced: Workspace setup
-
Advanced: Setting automatic formatting
Typescript. Basic knowledge
-
What is TypeScript and why is it needed
-
Installing TS and launching files
-
Basic types: string, number, boolean
-
Using the Type System in Functions
-
Special type any
-
Code Typing Practice
-
Type never
-
Types null and undefined
-
(e) Rare primitive types bigint, symbol
-
Object typing and destructuring
-
Array typing
-
Code Typing Practice
-
Tuples
-
Union
-
Narrowing
-
Primitive literal types
-
Type aliases
-
Object Literals and Function Annotations
-
Check of knowledge
Typescript. Required level
-
More advanced Type and type intersection (Intersection)
-
Interfaces
-
Type or Interface?
-
Practice working with interfaces and types
-
Type Inference Mechanism
-
Property modifiers: optional (Property Modifiers)
-
(e) Non-Null and Non-Undefined operator
-
Property modifiers: readonly (Property Modifiers)
-
Enums
-
Type Unknown
-
Type queries
-
Practice
-
Type Assertions
-
A little about “internal” types and type casting
-
Type Guard
-
Never use case
-
Function Overloading
-
Separating Interfaces into Correct Parts
-
Practice creating type guards and proper interfaces
-
Working with the DOM
-
Practice working with DOM
-
(e) Using void inside TS
-
Check of knowledge
Typescript. Generics and type manipulations
-
Introduction to this module
-
Generics (Generalizations), what they are and why they are needed
-
Generic functions
-
Generics types and interfaces, constraints
-
Practice
-
Generics classes
-
Built-in generics (Readonly, Partial, Required)
-
Manipulations with types and how they are implemented
-
Keyof operator
-
The typeof operator and type queries again
-
Indexed Access Types
-
Practice
-
Conditional types and infers
-
Mapped types, +/- operators
-
Template literal types
-
Utility types: Pick, Omit, Extract, Exclude, Record
-
Practice
-
(e) Analysis of problems
-
Additional Utility types
-
Working with server requests, Promise and JSON
-
Awaited
-
Check of knowledge
Typescript. Classes
-
Introduction to this module
-
Basic class work
-
Constructors, overloads and generics
-
Methods, their overloads, getters and setters
-
Initial Value and Index Signatures
-
Class inheritance in TS (extends)
-
Implementation in classes
-
Interface implementation practice
-
Property Visibility Modifiers
-
Private fields (#, option in JS)
-
Static Properties and Methods
-
this and context typing
-
Abstract classes
-
Practice with classes
-
Testing the material learned for all modules
Student Ratings & Reviews
No Review Yet