YoVDO

Learn TypeScript – Full Tutorial

Offered By: freeCodeCamp

Tags

Typescript Courses Programming Courses Code Quality Courses Generics Courses Type Inference Courses

Course Description

Overview

Embark on a comprehensive 4-5 hour journey into TypeScript programming with this full tutorial designed for beginners. Explore the fundamentals of this typed superset of JavaScript, which compiles to plain JavaScript and offers enhanced error checking through its static type system. Dive into essential concepts such as type inference, functions, objects, arrays, unions, tuples, enums, interfaces, classes, generics, and type narrowing. Learn how to set up TypeScript for real projects, understand the importance of interfaces, and master advanced topics like abstract classes and discriminated unions. Gain practical knowledge through hands-on examples and discover best practices for writing efficient TypeScript code. By the end of this tutorial, develop a solid foundation in TypeScript programming and be prepared to leverage its powerful features in your own projects.

Syllabus

⌨️ Why to learn TypeScript
⌨️ TypeScript is not what you think
⌨️ How to install TypeScript
⌨️ Your first intro to TypeScript docs
⌨️ Number, boolean, and type inference
⌨️ Number, boolean, and type inference
⌨️ Don't use ANY
⌨️ Do you really know functions
⌨️ A better way to write function
⌨️ Bad behavior of objects
⌨️ Type Aliases
⌨️ READONLY and optional
⌨️ Array
⌨️ Union Types in TS
⌨️ Tuples
⌨️ Enums
⌨️ interface
⌨️ Interface vs Type
⌨️ How to setup Typescript for real projects
⌨️ Classes
⌨️ Private Public
⌨️ Getters and Setters
⌨️ Protected
⌨️ Why Interface is important
⌨️ Abstract class
⌨️ Generics
⌨️ Generics in Array and Arrow functions
⌨️ Generic Classes
⌨️ Type Narrowing
⌨️ The in operator narrowing
⌨️ Instanceof and Type Predicates
⌨️ Discriminated Union and Exhaustiveness Checking with never
⌨️ TypeScript End


Taught by

freeCodeCamp.org

Related Courses

Computer Vision: The Fundamentals
University of California, Berkeley via Coursera
Programming Languages
University of Virginia via Udacity
Learn to Program: Crafting Quality Code
University of Toronto via Coursera
Computational Photography
Georgia Institute of Technology via Coursera
Algorithms: Design and Analysis, Part 2
Stanford University via Coursera