Every piece of data in TypeScript has a specified data type.
To do this we use a concept called "type annotation".
Here is some text
const title:string="Welcomre to TypeScript!"If we try to change the type of avariable or assign a value of the wrong type, TypeScript will show an error.
Here is some other text
let title:string="Try to change the type!" title=42; // This will cause an error because 42 is not a string