Skip to content

sanjay14073/typescript-basics

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

TypeScript Tutorial for Beginners

Welcome to the TypeScript Tutorial for Beginners! This tutorial provides a comprehensive introduction to TypeScript, covering essential concepts and features for individuals who are new to the language.

Table of Contents

Introduction

This tutorial covers the basics of TypeScript, which is a superset of JavaScript with added type support. TypeScript helps prevent runtime errors related to type checks and supports all versions of JavaScript.

Getting Started

Installation

To run TypeScript code, you need to install the TypeScript compiler. Follow these steps:

npm install -g ts-node typescript '@types/node'

For Running this file make sure that you type the following commands

tsc basic.ts
node basic.js

Later delete the js file to avoid errors

rm basic.js

About

A good starting point for TypeScript.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published