TypeScript Hello World Program


TypeScript Hello World Program

In this tutorial, we will learn how to write a Hello World program in TypeScript language. We will go through each statement of the program.

TypeScript Program

console.log("Hello, World!");

Output

Hello, World!

Working of the "Hello, World!" Program

  1. console.log("Hello, World!");
    This line prints the string "Hello, World!" to the console. The console.log method is used for outputting messages to the web console or terminal.