Advanced TypeScript Fundamentals
Learn AWS with a hands-on project! Deploy Ghost to AWS using EC2 and RDS. Gain practical experience in networking, SSH, and command line. Perfect for certification prep or fun learning.
Using TypeScript in your project has never been easier than it is today. The TypeScript team has continually added features to allow you to reap the benefits of static typing while reducing the overhead to get there.
This course will teach you these new language features TypeScript has to offer. You’ll use optional chaining, handle undefined behavior with the unknown type and assertion functions, create private classes, handle tuple (and other data types) types, as well as learn about conditional types.
You’ll also learn how to prevent type widening with TypeScript’s new const assertions and efficiently type string literals through the use of template literals.
All of these skills will be brought together into examples that Marius will show you how to apply these new TypeScript features to real-world problems.
Course Content
Use the Optional Chaining Operator in TypeScript
Use the Nullish Coalescing Operator in TypeScript
Statically Type Unknown Values with TypeScript’s unknown Type
Narrow the unknown Type with TypeScript’s Assertion Functions
Perform null Checks with Assertion Functions
Create Private Class Fields Using TypeScript’s private Modifier
Create Truly Private Class Fields Using the #fieldName Syntax
Encapsulate Truly Private Variables in a Closure
Ensure Initialization of Class Instance Properties in TypeScript
Declare Read-Only Array Types in TypeScript
Declare Read-Only Tuple Types in TypeScript
Prevent Type Widening of Object Literals with TypeScript’s const Assertions
Prevent Type Widening of Array Literals with TypeScript’s const Assertions
Implement and Type Enum-Style Objects in TypeScript
Implement a NonNullish Conditional Type in TypeScript
Implement a ReturnTypeOf Conditional Type in TypeScript
Statically Type String Literals with Template Literal Types in TypeScript
Use TypeScript’s Mapped Types and Template Literal Types Together
User Reviews
Be the first to review “Advanced TypeScript Fundamentals”
You must be logged in to post a review.
There are no reviews yet.