An open API service indexing awesome lists of open source software.

https://github.com/zeyu-li/typescript_template

A simple TypeScript template, nothing more, nothing less :pencil:
https://github.com/zeyu-li/typescript_template

typescript-template

Last synced: over 1 year ago
JSON representation

A simple TypeScript template, nothing more, nothing less :pencil:

Awesome Lists containing this project

README

          

# 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

```powershell
tsc -w
```

in terminal

## Required

* Node.js
* typescript (installed using npm)

## Code

```typescript
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