Installing TypeScript

> npm install -g typescript
> npm i --save-dev typescript
> yarn add -D typescript

Compiling your code

> tsc helloworld.ts
> yarn tsc helloworld.ts
> yarn tsc helloworld.ts --declaration

Configuration

> tsc --init
 
badge