Loading...

TypeScript Everything

TypeScript is a superset of JavaScript, which as the name suggests, is a strongly typed scripting language. It is a very powerful language which accepts plain javascript but also encorporates all of the future releases of JS such as ES7/8/9 and helps to enforce best practise. I have recently started using TypeScript for quickly scripting functions and figuring out algorithms. This left me with a bit of a hurdle as I don’t want to set up a huge project just to see the output of one file. In steps ts-node. simply running ts-node index.ts will execute your file and log out any console logs. have fun.

Leave a Reply

Your email address will not be published. Required fields are marked *