Type Annotation

A type annotation is when you explicitly define the type that a variable can take on:

1
const x: number = 10;

Video Tutorial: