Implicit and explicit data type assignment

Now, with TypeScript we have the ability to explicitly set data type for a value like this:

//script.ts

let str: string = "hello";

console.log(str);