ItaloCostaBR / study-ts

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Usage

Install Typescript Global

Attention: Typescript Documentation

Run command line

npm install -g typescript

Transpile Typescript file to Javascript

Run command line

tsc nameFile.ts

Transpile and watch Typescript file to Javascript

Run command line

Attention: -w just add this parameter.

tsc -w nameFile.ts

Transpile to ES5 and watch Typescript file to Javascript

Run command line

Attention: -t es5 -w just add this parameter.

tsc -t es5 -w nameFile.ts

Watch file Javascript

Install Node

Attention: Node Dowloand

Run command line

node nameFile.js

About


Languages

Language:TypeScript 100.0%