TypeScript Fundamentals
Plans from $25/month

This lesson is for members. Join us?

Subscribe now to get instant access to this course, plus a full library of Vue.js courses tailored to the plan you choose.

Implicit and Explicit Types in TypeScript

In this lesson we compare implicit and explicit types in TypeScript.

Implicit types come from TypeScript inferring the type based on a variable's initial value and look just like regular JavaScript.

Explicit types are when we intentionally provide the type using a special TypeScript syntax.