Skip to content

donovan-said/tutorial-learning-typescript

Repository files navigation

Tutorial - Learning TypeScript

               

Content

Overview

The purpose of this repository is for me to start learning TypeScript and JavaScript.

Requirements

Tool Description
NodeJS Node & NPM Installation

Setup

  1. Install TypeScript compiler within the project (repository directory) npm install typescript --save-dev
  2. Initialise compiler npx tsc --init
  3. Configure the tsconfig.json file. This will be generated by default via the init command shown above.
  4. Build i.e. convert to JavaScript npx tsc
  5. Run JavaScript code with node build/{something}.js}

For more information on the tsconfig file, please see:

Tutorials & Examples

Documentation, Guides, and Examples

General

ECMAScript

Module Formats

Package Managers

TBC

Languages and Runtime

  • NodeJS is a server side runtime
  • JavaScript is a scripting or programming language
  • TypeScript is a superset of JavaScript

Comparisons

NodeJs

JavaScript

TypeScript

About

A repository to start learning TypeScript.

Topics

Resources

License

Contributing

Stars

Watchers

Forks

Packages

 
 
 

Contributors