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

https://github.com/solodynamo/t.s.s

tsc Starter
https://github.com/solodynamo/t.s.s

Last synced: 2 months ago
JSON representation

tsc Starter

Awesome Lists containing this project

README

          

# TS Starter

Get yourserlf get going with typescript which is one of the hindrance we most often face.

Project Structure:
- ./src - It is where our ts code will reside.
- ./dist - It is where our js code will reside here after getting compiled by tsc.

### Installation

Install the dependencies and devDependencies and start the server.

```sh
$ npm install typescript -g
$ cd T.S.S/src
$ tsc -w
```
-w : It watches for ts code change and automatically compiles to js in dist/

-Write ts code in app.ts and get app.js in dist/ which is as easy it can get.