Coding task · JavaScript and TypeScript course · Module 6: TypeScript Basics

Practice: First Steps with TypeScript

Write simple TypeScript code with type annotations.

Task

Define a variable dinosaurSpecies of type string and assign it the value 'T-Rex'.