Skip to content

Denzel60/Understanding-TypeScript

Repository files navigation

TypeScript Initialization and Configuration

How to initialize the project

Run;

npm init

This will create a npm package.json file in the root of your project.

How to install Lite-server

Run;

npm install lite-server --save-dev

How to run the project

After installing, add a start script in the package.json file, i.e,

"start": "lite-server",

This will allow you to run the server with the command npm start

How to initialise TypeScript

Run;

tsc --init

After Initialization and starting the project

How to keep the project in watch mode

  • To begin watch mode, run;
tsc --watch

alternatively, run;

tsc -w

About

TypeScript from beginners to advance

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published