Last week, I posted an introductory piece about https://thenewstack.io/what-is-typescript/ (“https://thenewstack.io/typescript-tutorial-a-guide-to-using-the-programming-language/“) where I not only introduced you to the language but walked you through creating your first application. but only serves to help you take your first steps with the language.

The hw.ts file is where we built the app and hw.js is the JavaScript file generated from the code, using the tsc hw.ts command. What we’ll do now is create a basic HTML index file that calls the hw.js application and prints the output in a web browser.

What we’re going to do is use the script src call to point to the hw.js JavaScript file.

Related Articles