Beginning TypeScript
As the complexity and scale of our apps forever increases, TypeScript has risen in popularity as people seek the reassurances of type safety in their applications. Major frameworks such as Vue have rewritten their entire code bases in TypeScript.
Nonetheless, there is a cost associated with adopting it. Teams must learn how to use a new set of tooling, think about their code in a different way, and learn concepts that may be foreign to them. This series aims to ease the transition to TypeScript. It assumes basic knowledge of JavaScript but otherwise serves as an introduction to the most common types that will enable you to build real applications in TypeScript.
Series episodes
Hello, TypeScript
7m 35sLearn how to install and configure TypeScript with tsconfig. Get started quickly by mastering the compiler setup for smooth, efficient TypeScript projects.
Understanding the Type System
19m 16sUnderstand TypeScript’s type system, from syntax to type inference. Learn how structural and erased types power safer, smarter code in your projects.
Arrays and Tuples
4m 25sMaster TypeScript arrays and tuples to efficiently handle data collections. Learn how to type them correctly for safer, more organized code in your projects.
Literals and Enums
10m 28sExplore TypeScript’s literal types and enums to write clearer, safer code. Learn when to use each and unlock powerful type features in your projects.
Void and Null
4m 45sExplore the concepts of void and null types in programming. Understand their uses and quirks to write clearer, more reliable code with confidence.
Any and Unknown
11m 15sDiscover why using TypeScript’s unknown type is safer than any. Learn type narrowing and casting to write robust, error-free code with confidence.
Interfaces and Type Aliases
7m 6sDiscover when to use TypeScript interfaces vs. type aliases, understand their key differences, and write clearer, more effective type definitions.
Unions and Intersections
5m 24sLearn how to master TypeScript unions and intersections, including discriminated unions and type narrowing, to build robust, type-safe data structures.
Never
5m 5sDiscover TypeScript’s `never` type and how it ensures exhaustive checks in your code. Learn when and why to use it in this clear, friendly Laracasts lesson!
Intersections
6m 55sLearn how to compose rich TypeScript types using intersections. Build flexible, compatible data structures with ease in this clear, friendly Laracasts tutorial!
Generics
10m 13sDemystify generics by learning how to create flexible, reusable types that work across multiple data types. Master this key concept with Laracasts!




