TypeScript Declarations

typescript variables

Declared variables in TypeScript are strongly typed, meaning that if you declare a variable as one type, you can’t reassign it to another type.

You have simple variable statements.

You also have let and const declarations.

Enjoy this quick bite-sized intro to TypeScript declarations.

Photo attribution: https://www.flickr.com/photos/mspell/4528694882/