
Lesson Description
The "TypeScript Concepts Recap" Lesson is part of the full, TypeScript: From First Steps to Professional course featured in this preview video. Here's what you'd learn in this lesson:
Anjana provides an overview of the topics covered so far including TypeScript's relationship with JavaScript, tools like TSC and TSX, syntax additions like type annotations and type aliases, advanced concepts like unions, interfaces, and generic types, as well as compiler settings.
Transcript from the "TypeScript Concepts Recap" Lesson
[00:00:00]
>> Anjana Vakil: So let's just recap We have covered a lot We've taken a lot of steps towards being super-powered, type-strong TypeScript developers We talked about TypeScript and JavaScript and how they relate and why TypeScript even came into being in the first place and the motivations behind that being caused by some of the idiosyncrasies, let's say, of JavaScript's type system We talked about some of the tools that we can use to work with TypeScript files like tsc, which is the TypeScript compiler, which is kind of the meat and potatoes of TypeScript, and other little utilities like TSX
[00:00:42]
And we talked about the syntax that TypeScript adds to JavaScript So we talked about how we add type annotations with all the colons and how we declare type aliases with type blah, equals blah We also started getting fancy We started combining types with unions, and we talked about interfaces, and we talked about generic types and type parameters and how we can kind of manipulate types with some of these built-in generic types
[00:01:16]
And we also talked a bit about the TypeScript compiler and got a very scary first look at all of the many settings that we can use to make it do what we want And that's really just the tip of the script iceberg So we're going to continue in the next part of the course thinking more about TypeScript in our day-to-day lives We've been looking at it in kind of little toy examples and the playground and looking at the syntax and the features and things like that
[00:01:49]
We're going to talk more in the next sections about how we configure TypeScript in different cases, like how do we choose which settings for the compiler and so on and so forth And we're going to talk about some of the ways that we can leverage TypeScript as part of a wider act of developing software, including tools from the ecosystem, libraries, and open source projects that we can use to do things like make sure that we have the buzzwordiest thing: end-to-end type safety in our full-stack projects and that sort of thing.
Learn Straight from the Experts Who Shape the Modern Web
- In-depth Courses
- Industry Leading Experts
- Learning Paths
- Live Interactive Workshops