Which Vue Developers should learn TypeScript?
4:22
Installing TypeScript, Transpiling and Watching Files
4:44
Introduction to TypeScript’s Types
8:38
A Quick Tour of TypeScript’s Basic Types
9:21
Functions and Types in Typescript
9:42
Custom Types and Literal Types
6:02
Custom Object Types in TypeScript
7:44
Type Intersections
7:36
Type Unions
7:48
Interfaces
7:50
Intro to TypeScript - Conclusion (for now)
1:19
Generics
10:11
0% done with TypeScript: The Vue Parts

Type Unions

Number one mistake to avoid: don’t treat it like Javascript’s ‘or’ operator.

TypeScript’s Type Unions may appear to work differently depending on where they are, but once you understand the underlying concepts, it all makes sense.

What do others think of VueScreencasts?
"Thanks so much! Helped a lot."
—BoIoko
"Your tutorial is quite easy to understand."
—Koga2 Kuzengenki
"Really nice, thank you."
—WaterCamelsHowLong
"Short, precise, step-by-step, beginner-friendly and clear."
—Naty Java
Take your career to the next level