A Collection of Code Snippets in as Many Programming Languages as Possible
This project is maintained by TheRenegadeCoder
Welcome to the Hello World in Typescript page! Here, you'll find the source code for this program as well as a description of how the program works.
console.log("Hello, World!");
Hello World in Typescript was written by:
This article was written by:
If you see anything you'd like to change or update, please consider contributing.
This is quite possibly the smallest Hello World out there and it just so happens to be identical to Hello World in javascript (the language TypeScript is built on).
Simply put it logs the phrase Hello, World!
to the console in your browser.
Quite possibly the easiest way to run this is to open developer tools in your browser of choice, however, do note that the following is based on Chrome. This is often done by the shortcut "CRTL-SHIFT-I". Clicking on console at the top of the screen. Where the arrow is at the bottom of the console output is a text entry box and in there type the code from above(console.log("Hello, World!");
). Finally, press enter and see Hello, World!
in the Console output.