Variables and Values
We will begin our study of the TypeScript language with simple variables and functions.
Objects, Arrays and Tuples
Now that we know how to type simple variables and functions, let's make things a bit more interesting with collections: in JavaScript this includes Objects and...
Variables and Values
We will begin our study of the TypeScript language with simple variables and functions.
Objects, Arrays and Tuples
Now that we know how to type simple variables and functions, let's make things a bit more interesting with collections: in JavaScript this includes Objects and Arrays.
Structural vs. Nominal Types
In this unit, we will explore how TypeScript is fundamentally different from nominal type systems, such as the ones found in Java and C++.
Union and Intersection Types
We will discuss and explore TypeScript's union and intersection types, which are effectively "AND" and "OR" boolean logic operators for types.
Interfaces and Type Aliases
TypeScript provides two mechanisms for centrally defining types and giving them useful and meaningful names: interfaces and type aliases. We will study both concepts in depth, and explain when it makes sense to use each.
JSON types
We will take on our first challenge together: defining types that describe any valid JSON value
Type Queries
Type queries allow us to obtain type information in different ways from existing types and values
Callables and Constructables
So far, we have dealt with function argument and return types. There are a few more in-depth concepts we need to cover, including multiple function heads and callable types.
Classes
TypeScript classes add some powerful and important features on top of traditional JavaScript classes. In this unit, we will take a close look class fields, access modifier keywords and more!
Type guards and narrowing
We have explored built-in type guards like typeof and instanceof, but there's a lot more power in type guards, including the ability to define your own!
Generics
Generics allow us to parameterize types, which unlocks great opportunity to reuse types broadly across a TypeScript project.
Dictionary map, filter and reduce
Many of us use array the higher-order functions map, filter and reduce quite often. Let's build out similar utilities that operate on dictionaries!
Size: 292.83 KB
Language: en
Added: Sep 14, 2024
Slides: 1 pages
Slide Content
CERTIFICATE OF COMPLETION
Check out my profile!
Ronny Freites
has successfully completed
TypeScript 5+ Fundamentals, v4
5 hours, 12 minutes
Mike North
Teacher
Frontend Masters Marc Grabanski
CEO Frontend Masters
Completed: Jul 16, 2024