This TypeScript Template is a starter file for TypeScript project. TypeScript is basically the strongly typed version of JavaScript.
To activate TypeScript, go to the json file and enter
tsc -w
in terminal
- Node.js
- typescript (installed using npm)
function main() {
// choose any number
let number: number = 1;
// prints
console.log();
// return statement
return 0;
}
// main function call
main();
The rules for copy and distributing this project licence are outlined in the licence.txt file.
This project is under an MIT licence