Skip to content
/ TypeScript_template Public template

A simple TypeScript template, nothing more, nothing less 📝

License

Notifications You must be signed in to change notification settings

Zeyu-Li/TypeScript_template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TypeScript (ts) Template

About

This TypeScript Template is a starter file for TypeScript project. TypeScript is basically the strongly typed version of JavaScript.

Use

To activate TypeScript, go to the json file and enter

tsc -w

in terminal

Required

  • Node.js
  • typescript (installed using npm)

Code

function main() {
    // choose any number
    let number: number = 1;

    // prints
    console.log();

    // return statement
    return 0;
}

// main function call
main();

Licence

The rules for copy and distributing this project licence are outlined in the licence.txt file.

This project is under an MIT licence

About

A simple TypeScript template, nothing more, nothing less 📝

Topics

Resources

License

Stars

Watchers

Forks