Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/brunormferreira/typescript-wj

Little course about TypeScript with @williamjusten
https://github.com/brunormferreira/typescript-wj

Last synced: 18 days ago
JSON representation

Little course about TypeScript with @williamjusten

Awesome Lists containing this project

README

        

### A way to run typescript in your computer:

Run the below commands and install the required packages globally:

```sh
$ npm install -g ts-node
$ npm install -g typescript
```

Now run the following command to execute a typescript file:

```sh
$ ts-node typescript-file.ts
```

### To Watch files

You can run in your terminal:

```sh
$ tsc index.ts --watch
```

### OR

1. Install the extension like [Code Runner](https://marketplace.visualstudio.com/items?itemName=formulahendry.code-runner) in your Editor. (e. g. VS Code Editor)
2. Select all the code that you want and after that with the shortchut ```CTRL+ALT+N``` you run and automate last proccess.