AI Workshop: learn to build apps with AI →
TypeScript: There's more...

Join the AI Workshop and learn to build real-world apps with AI. A hands-on, practical program to level up your skills.


TypeScript doesn’t end here, of course.

But TS is a whole programming language, and there are a ton of features that you can use once you choose to use it and go all-in.

I personally think the best way to use TypeScript is to just use its type system, so we basically write JavaScript with types, and ignore all the other TypeScript features that are built to help you write more structured programs, for example using classes and more complex inheritance.

I find more joy in writing more function-oriented code rather than going all-in on OOP, so I tend to use TypeScript for its types only.

Your mileage might vary, and your team might require you to use more TS features.

If you want to explore more of what TypeScript can offer, go ahead to the official docs to learn all the details, or start writing your apps and learn as you do!

Lessons in this unit:

0: Introduction
1: Your first TypeScript program
2: Types
3: Typing functions
4: The editor helps you with type errors
5: Running TypeScript code
6: Valid types
7: Type aliases and interfaces
8: Union types
9: Typing arrays with generics
10: The DX of editing TypeScript
11: ▶︎ There's more...
12: TypeScript declare a type that can be a string or array of strings
13: TypeScript, disable checks for `declared but its value is never read`
14: Object destructuring with types in TypeScript
15: TypeScript Tutorial
16: Zod: Type-Safe Schema Validation for TypeScript
17: How I fixed some trouble importing types in .d.ts files