Browse all series
LanguagesIntermediate11 episodes

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 35s

Learn 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 16s

Understand 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 25s

Master 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 28s

Explore 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 45s

Explore 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 15s

Discover 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 6s

Discover when to use TypeScript interfaces vs. type aliases, understand their key differences, and write clearer, more effective type definitions.

Unions and Intersections

5m 24s

Learn how to master TypeScript unions and intersections, including discriminated unions and type narrowing, to build robust, type-safe data structures.

Never

5m 5s

Discover 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 55s

Learn how to compose rich TypeScript types using intersections. Build flexible, compatible data structures with ease in this clear, friendly Laracasts tutorial!

Generics

10m 13s

Demystify generics by learning how to create flexible, reusable types that work across multiple data types. Master this key concept with Laracasts!

Continue learning

Thumbnail for NuxtJS Crash Course
NuxtJS Crash Course

With Andre Madarang

  • 11 episodes
  • Intermediate
  • Frameworks
Thumbnail for Cypress and Laravel Integration
Cypress and Laravel Integration

With Jeffrey Way

  • 7 episodes
  • Intermediate
  • Testing
Thumbnail for Crafting Vue Modals
Crafting Vue Modals

With Pascal Baljet

  • 14 episodes
  • Advanced
  • Techniques
Thumbnail for Build Modern Laravel Apps Using Inertia.js
Build Modern Laravel Apps Using Inertia.js

With Jeffrey Way

  • 24 episodes
  • Intermediate
  • Frameworks
Thumbnail for Practical Vue Components
Practical Vue Components

With Jeffrey Way

  • 7 episodes
  • Intermediate
  • Frameworks

Would you like to hear from Laracasts by email occasionally?