DEV Community

loading...

Discussion on: Converting a JavaScript project to Typescript, one file at a time

Collapse
pabrams profile image
Paul Abrams • Edited

I don't understand how to run your initial JavaScript application. I'm used to seeing index.html, which I can run by double-clicking. How do I run your index.js without creating an .html file to do it?

Collapse
suhas_chatekar profile image
Suhas Chatekar Author

This is not a web application and hence there is no index.html. You simply run node lib/index.js in order to run the transpiled code.