WBF AcademyWBF Academy
Black Friday Lifetime Pro plan for US$ 297. Pay once, learn forever. 7 days left. See the offer
TypeScript
Beginner Programming Languages

TypeScript

TypeScript adds a powerful type system on top of JavaScript, and this beginner course shows you exactly how to use it to write more reliable, self-documenting code. You will start with why types matter and how to set up a project with the TypeScript compiler, then learn the basic types, type inference, and the tsconfig options that shape how strict your project is. From there you go deep on the type system itself: union and literal types, type aliases, narrowing a value down to its real type, and the difference between any, unknown, and never. You will learn to write functions with typed parameters and return values, optional and default parameters, function overloads, and generics, the tool that lets one function or type work safely across many data shapes. You will model real-world data with interfaces and classes, understand access modifiers, and see how TypeScript's structural typing differs from what you may know from other languages. Finally you will explore utility types, mapped and conditional types, how modules and declaration files fit together, and the build tooling that turns TypeScript into JavaScript your browser or server can run. By the end you will read and write TypeScript with confidence in any modern codebase.

5 modules 10 lessons 4 h 250 questions

Course content

1 TypeScript Fundamentals 2 lessons · 1 practice 0 of 3
Lesson 1 · 6:51Why TypeScript & Basic Types
6:51
Why TypeScript & Basic Types
Video · 6:51
Watch lesson ▶
Lesson 2 · 6:46Type Inference & tsconfig
6:46
Type Inference & tsconfig
Video · 6:46
Watch lesson ▶
Practice · 0 of 25 questionsModule practice
Module practice 0 of 25 for the certificate
Answer 25 questions
This module has 50 questions; 25 count toward the certificate.
Practice →
2 The Type System 2 lessons · 1 practice 0 of 3
Lesson 1 · 6:31Unions, Literals & Narrowing
6:31
Unions, Literals & Narrowing
Video · 6:31
Watch lesson ▶
Lesson 2 · 6:50any, unknown, never & Assertions
6:50
any, unknown, never & Assertions
Video · 6:50
Watch lesson ▶
Practice · 0 of 25 questionsModule practice
Module practice 0 of 25 for the certificate
Answer 25 questions
This module has 50 questions; 25 count toward the certificate.
Practice →
3 Functions & Generics 2 lessons · 1 practice 0 of 3
Lesson 1 · 6:16Typing Functions
6:16
Typing Functions
Video · 6:16
Watch lesson ▶
Lesson 2 · 6:38Generics & Constraints
6:38
Generics & Constraints
Video · 6:38
Watch lesson ▶
Practice · 0 of 25 questionsModule practice
Module practice 0 of 25 for the certificate
Answer 25 questions
This module has 50 questions; 25 count toward the certificate.
Practice →
4 Interfaces & Classes 2 lessons · 1 practice 0 of 3
Lesson 1 · 6:38Interfaces & Type Aliases
6:38
Interfaces & Type Aliases
Video · 6:38
Watch lesson ▶
Lesson 2 · 6:47Classes & Access Modifiers
6:47
Classes & Access Modifiers
Video · 6:47
Watch lesson ▶
Practice · 0 of 25 questionsModule practice
Module practice 0 of 25 for the certificate
Answer 25 questions
This module has 50 questions; 25 count toward the certificate.
Practice →
5 Advanced Types & Tooling 2 lessons · 1 practice 0 of 3
Lesson 1 · 6:16Utility & Mapped Types
6:16
Utility & Mapped Types
Video · 6:16
Watch lesson ▶
Lesson 2 · 6:17Modules, Declarations & Tooling
6:17
Modules, Declarations & Tooling
Video · 6:17
Watch lesson ▶
Practice · 0 of 25 questionsModule practice
Module practice 0 of 25 for the certificate
Answer 25 questions
This module has 50 questions; 25 count toward the certificate.
Practice →

Tips

See all